| Package | Description |
|---|---|
| bdi4jade.core | |
| bdi4jade.extension.planselection.utilitybased | |
| bdi4jade.plan |
This package contains interfaces and classes that allows representation of
plans of BDI agents.
|
| bdi4jade.plan.planbody |
This package contains interfaces and classes that allows representation of
plan body, which is an executable piece of code that is instantiated and
executed to achieve goals.
|
| bdi4jade.reasoning |
This package contains interfaces and classes to specify strategies
associated with customization points of the BDI agent reasoning cycle.
|
| Modifier and Type | Method and Description |
|---|---|
protected Plan |
BDIAgent.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.
|
protected Plan |
Capability.selectPlan(Goal goal,
java.util.Set<Plan> candidatePlans)
This method is responsible for selecting plans to achieve a goals of this
agent.
|
| Modifier and Type | Method and Description |
|---|---|
protected Plan |
BDIAgent.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.
|
protected Plan |
Capability.selectPlan(Goal goal,
java.util.Set<Plan> candidatePlans)
This method is responsible for selecting plans to achieve a goals of this
agent.
|
| Constructor and Description |
|---|
Capability(java.util.Set<Belief<?>> initialBeliefs,
java.util.Set<Plan> initialPlans)
Creates a new capability.
|
Capability(java.lang.String id,
Capability wholeCapability,
java.util.Set<Belief<?>> initialBeliefs,
java.util.Set<Plan> initialPlans)
Creates a new capability.
|
Capability(java.lang.String id,
java.util.Set<Belief<?>> initialBeliefs,
java.util.Set<Plan> initialPlans)
Creates a new capability.
|
| Modifier and Type | Field and Description |
|---|---|
protected Plan |
PlanGoalDependency.root |
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanGoalDependency.getRoot()
Returns the plan that is the root of the plan-goal dependency, i.e.
|
Plan |
UtilityBasedPlanSelectionStrategy.selectPlan(Goal goal,
java.util.Set<Plan> plans) |
| Modifier and Type | Method and Description |
|---|---|
Plan |
UtilityBasedPlanSelectionStrategy.selectPlan(Goal goal,
java.util.Set<Plan> plans) |
| Constructor and Description |
|---|
AndPlanGoalDependency(Plan root) |
AndPlanGoalDependency(Plan root,
java.util.List<Goal> goals) |
OrPlanGoalDependency(Plan root) |
OrPlanGoalDependency(Plan root,
java.util.Map<Goal,java.lang.Double> goals) |
PlanGoalDependency(Plan root) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPlan
This class represents the plan abstraction, being an abstract implementation
of the
Plan interface. |
class |
DefaultPlan
This class represents a plan whose plan body is a class that can be
instantiated by invoking the
Class.newInstance() method. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Plan> |
PlanLibrary.canAchievePlans(Goal goal)
Returns the set of plans that can achieve the given goal.
|
java.util.Set<Plan> |
PlanLibrary.getPlans()
Returns the set of plans that are part of this plan library.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlanLibrary.addPlan(Plan plan)
Adds a plan to the plan library.
|
boolean |
PlanLibrary.hasPlan(Plan plan)
Checks if a plan is part of the plan library.
|
boolean |
PlanLibrary.removePlan(Plan plan)
Removes a plan from the plan library.
|
| Constructor and Description |
|---|
PlanLibrary(Capability capability,
java.util.Set<Plan> plans)
Creates a plan library base associated with a capability and adds the
plans in the provided set.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
SequentialActionPlanBody.getPlan() |
Plan |
PlanBody.getPlan()
Returns the
Plan that is associated with this plan instance. |
Plan |
ParallelActionPlanBody.getPlan() |
Plan |
FSMPlanBody.getPlan() |
Plan |
AbstractPlanBody.getPlan()
Returns the
Plan that is associated with this plan body. |
| Modifier and Type | Method and Description |
|---|---|
void |
SequentialActionPlanBody.init(Plan plan,
Intention intention) |
void |
PlanBody.init(Plan plan,
Intention intention)
Initializes this plan body.
|
void |
ParallelActionPlanBody.init(Plan plan,
Intention intention) |
void |
FSMPlanBody.init(Plan plan,
Intention intention) |
void |
AbstractPlanBody.init(Plan plan,
Intention intention)
Initializes this plan body.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanSelectionStrategy.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.
|
Plan |
DefaultPlanSelectionStrategy.selectPlan(Goal goal,
java.util.Set<Plan> candidatePlans)
Selects the first plan of the set of candidate plans, if any.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanSelectionStrategy.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.
|
Plan |
DefaultPlanSelectionStrategy.selectPlan(Goal goal,
java.util.Set<Plan> candidatePlans)
Selects the first plan of the set of candidate plans, if any.
|