public class DefaultPlanSelectionStrategy extends AbstractReasoningStrategy implements PlanSelectionStrategy
PlanSelectionStrategy. It selects the first plan of the set.capability| Constructor and Description |
|---|
DefaultPlanSelectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Plan |
selectPlan(Goal goal,
java.util.Set<Plan> candidatePlans)
Selects the first plan of the set of candidate plans, if any.
|
setCapabilityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCapabilitypublic Plan selectPlan(Goal goal, java.util.Set<Plan> candidatePlans)
selectPlan in interface PlanSelectionStrategygoal - the goal that must be achieved.candidatePlans - the plans that can achieve the goal.PlanSelectionStrategy.selectPlan(bdi4jade.goal.Goal,
java.util.Set)