bdi4jade.reasoning

## Interface OptionGenerationFunction

- All Superinterfaces:
    ReasoningStrategy
  All Known Implementing Classes:
    DefaultOptionGenerationFunction

      public interface OptionGenerationFunction
      extends ReasoningStrategy

  This interface defines the option generation functions to be used in the BDI-interpreter, within the scope of a capability. This strategy is used for creating new goals or to drop existing ones.
  Author:
    Ingrid Nunes

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `generateGoals(GoalUpdateSet goalUpdateSet)` This method is responsible for analyzing goals dispatched by a capability that have not been achieved yet, and choosing those to be dropped.

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

      `setCapability`

- - ### Method Detail

    - #### generateGoals

          void generateGoals(GoalUpdateSet goalUpdateSet)

      This method is responsible for analyzing goals dispatched by a capability that have not been achieved yet, and choosing those to be dropped. It may also generate new goals to be achieved. The parameter of this method is a `GoalUpdateSet`, which contains three sets: (i) the set of current goals dispatched by the capability associated with this strategy and their status; (ii) the set of generated goals; and (ii) the set of dropped goals. The last two sets are outputs of this methods.
      Parameters:
        `goalUpdateSet` - a three-set object containing current goals with their status, and dropped and generated goals.