bdi4jade.reasoning

## Interface PlanSelectionStrategy

- All Superinterfaces:
    ReasoningStrategy
  All Known Implementing Classes:
    DefaultPlanSelectionStrategy

      public interface PlanSelectionStrategy
      extends ReasoningStrategy

  This interface defines the plan selection strategy to be used within the scope of a capability. 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.Set<Plan> candidatePlans)` Selects a plan to be executed to achieve the given goal, given a set of candidate plans.

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

      `setCapability`

- - ### Method Detail

    - #### selectPlan

          Plan selectPlan(Goal goal,
                          java.util.Set<Plan> candidatePlans)

      Selects a plan to be executed to achieve the given goal, given a set of candidate plans.
      Parameters:
        `goal` - the goal that must be achieved.
        `candidatePlans` - the plans that can achieve the goal.
      Returns:
        the selected plan.