bdi4jade.util.reasoning

## Class DefaultOptionGenerationFunction

- java.lang.Object
- - bdi4jade.util.reasoning.DefaultOptionGenerationFunction

- All Implemented Interfaces:
    OptionGenerationFunction

      public class DefaultOptionGenerationFunction
      extends java.lang.Object
      implements OptionGenerationFunction

  The default implementation of the `OptionGenerationFunction`. It selects all goals, therefore none is dropped or created.
  Author:
    ingrid

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultOptionGenerationFunction()`

  - ### 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.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultOptionGenerationFunction

          public DefaultOptionGenerationFunction()

  - ### Method Detail

    - #### generateGoals

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

      Description copied from interface: `OptionGenerationFunction`
      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.
      Specified by:
        `generateGoals` in interface `OptionGenerationFunction`
      Parameters:
        `goals` - the current goals with their status.
      Returns:
        the list of selected goals.
      See Also:
        `OptionGenerationFunction.generateGoals(java.util.Map)`