public class UtilityBasedPlanSelectionStrategy extends AbstractReasoningStrategy implements PlanSelectionStrategy
PlanSelectionStrategy. It
selects the plan that has the best expected value based on the plan
contributions and the agent current preferences.capability| Constructor and Description |
|---|
UtilityBasedPlanSelectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Plan |
selectPlan(Goal goal,
java.util.Set<Plan> plans)
Selects a plan to be executed to achieve the given goal, given a set of
candidate plans.
|
setCapabilityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCapabilitypublic Plan selectPlan(Goal goal, java.util.Set<Plan> plans)
PlanSelectionStrategyselectPlan in interface PlanSelectionStrategygoal - the goal that must be achieved.plans - the plans that can achieve the goal.PlanSelectionStrategy.selectPlan(bdi4jade.goal.Goal,
java.util.Set)