bdi4jade.reasoning

## Interface DeliberationFunction

- All Superinterfaces:
    ReasoningStrategy
  All Known Implementing Classes:
    DefaultDeliberationFunction

      public interface DeliberationFunction
      extends ReasoningStrategy

  This interface defines the deliberation function to be used within the scope of a capability. 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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<GoalUpdateSet.GoalDescription>` | `filter(java.util.Set<GoalUpdateSet.GoalDescription> goals)` Selects the goals that must be tried to achieve and the ones.

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

      `setCapability`

- - ### Method Detail

    - #### filter

          java.util.Set<GoalUpdateSet.GoalDescription> filter(java.util.Set<GoalUpdateSet.GoalDescription> goals)

      Selects the goals that must be tried to achieve and the ones. Goals that are not selected will have its status set to waiting;
      Parameters:
        `goals` - the list of current goals dispatched by the capability associated with this strategy.
      Returns:
        the list of selected goals (which are in the for of `GoalUpdateSet.GoalDescription`), which will become intentions.