bdi4jade.reasoning

## Interface OptionGenerationFunction

- All Known Implementing Classes:
    DefaultOptionGenerationFunction

      public interface OptionGenerationFunction

  This interface defines the option generation functions to be used in the BDI-interpreter. This strategy is used for creating new goals or to drop existing ones.
  Author:
    ingrid

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<Goal>` | `generateGoals(java.util.Map<Goal,GoalStatus> goals)` The goals parameter is a map of all goals of the agent (that might be intentions) with their corresponding status.

- - ### Method Detail

    - #### generateGoals

          java.util.Set<Goal> generateGoals(java.util.Map<Goal,GoalStatus> goals)

      The goals parameter is a map of all goals of the agent (that might be intentions) with their corresponding status. A set is returned of this function indicating the creating of new goals and the ones that continue to be goals. The non-selected goals will be no longer desired.
      Parameters:
        `goals` - the current goals with their status.
      Returns:
        the list of selected goals.