br.pucrio.inf.les.bdijade.reasoning
Interface PlanSelectionStrategy

All Known Implementing Classes:
DefaultPlanSelectionStrategy

public interface PlanSelectionStrategy

This interface defines the plan selection strategy to be used in a capability. This strategy is used for selecting a plan from a set of possible options.

Author:
ingrid

Method Summary
 Plan selectPlan(Goal goal, java.util.Set<Plan> plans)
          Selects a plan to be executed to achieve the given goal.
 

Method Detail

selectPlan

Plan selectPlan(Goal goal,
                java.util.Set<Plan> plans)
Selects a plan to be executed to achieve the given goal.

Parameters:
goal - the goal that must be achieved.
plans - the plans that can achieve the goal.
Returns:
the selected plan.