| Package | Description |
|---|---|
| bdi4jade.core | |
| bdi4jade.examples.planselection | |
| bdi4jade.examples.template.plan | |
| 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 | |
| bdi4jade.util.reasoning |
| 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 | Class and Description |
|---|---|
class |
TransportationPlan |
| Modifier and Type | Class and Description |
|---|---|
class |
MyPlan1 |
class |
MyPlan2 |
| 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 |
SimplePlan
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 instance. |
| 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> plans)
Selects a plan to be executed to achieve the given goal.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanSelectionStrategy.selectPlan(Goal goal,
java.util.Set<Plan> plans)
Selects a plan to be executed to achieve the given goal.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
DefaultPlanSelectionStrategy.selectPlan(Goal goal,
java.util.Set<Plan> plans) |
| Modifier and Type | Method and Description |
|---|---|
Plan |
DefaultPlanSelectionStrategy.selectPlan(Goal goal,
java.util.Set<Plan> plans) |