bdi4jade.reasoning

## Interface AgentDeliberationFunction

- All Superinterfaces:
    AgentReasoningStrategy
  All Known Implementing Classes:
    DefaultAgentDeliberationFunction

      public interface AgentDeliberationFunction
      extends AgentReasoningStrategy

  This interface defines the deliberation function to be used by a BDI agent. This strategy is used for selecting a set of goals that must be tried (intentions) from the set of goals.
  Author:
    Ingrid Nunes

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<Goal>` | `filter(java.util.Set<GoalUpdateSet.GoalDescription> agentGoals, java.util.Map<Capability,java.util.Set<GoalUpdateSet.GoalDescription>> capabilityGoals)` This method is responsible for selecting a set of goals that must be tried to be achieved (intentions) from the set of goals.

    - ### Methods inherited from interface bdi4jade.reasoning.AgentReasoningStrategy

      `setAgent`

- - ### Method Detail

    - #### filter

          java.util.Set<Goal> filter(java.util.Set<GoalUpdateSet.GoalDescription> agentGoals,
                                     java.util.Map<Capability,java.util.Set<GoalUpdateSet.GoalDescription>> capabilityGoals)

      This method is responsible for selecting a set of goals that must be tried to be achieved (intentions) from the set of goals.
      Parameters:
        `agentGoals` - the set of agent goals, which are goals not dispatched within the scope of a capability.
        `capabilityGoals` - the map from capabilities to their set of goals.
      Returns:
        the list of selected goals, which will become intentions.