bdi4jade.reasoning

## Interface AgentPlanSelectionStrategy

- All Superinterfaces:
    AgentReasoningStrategy
  All Known Implementing Classes:
    DefaultAgentPlanSelectionStrategy

      public interface AgentPlanSelectionStrategy
      extends AgentReasoningStrategy

  This interface defines the plan selection strategy to be used by a BDI agent. This strategy is used for selecting a plan from a set of possible candidate plans of a capability.
  Author:
    Ingrid Nunes

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Plan` | `selectPlan(Goal goal, java.util.Map<Capability,java.util.Set<Plan>> capabilityPlans)` This method is responsible for selecting plans to achieve a goals of this agent.

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

      `setAgent`

- - ### Method Detail

    - #### selectPlan

          Plan selectPlan(Goal goal,
                          java.util.Map<Capability,java.util.Set<Plan>> capabilityPlans)

      This method is responsible for selecting plans to achieve a goals of this agent.
      Parameters:
        `goal` - the goal to be achieved.
        `capabilityPlans` - the set of candidate plans of each capability, as a map.
      Returns:
        the selected plan.