| Package | Description |
|---|---|
| bdi4jade.belief |
This package contains interfaces and classes that allows representation of
beliefs of an agent, which are stored in belief bases, part of agent
capabilities.
|
| bdi4jade.core |
This package contains the key classes of BDI4JADE.
|
| bdi4jade.goal |
This package contains interfaces and classes that allows representation of
goals and softgoals of an agent.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
BeliefBase |
DerivedBelief.getMainBeliefBase()
Returns the main belief base of this belief.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<BeliefBase> |
Belief.getBeliefBases()
Returns the belief bases with which this belief is associated.
|
java.util.Set<BeliefBase> |
AbstractBelief.getBeliefBases() |
| Modifier and Type | Method and Description |
|---|---|
void |
DerivedBelief.addBeliefBase(BeliefBase beliefBase)
Adds a belief base with which this belief is associated.
|
void |
Belief.addBeliefBase(BeliefBase beliefBase)
Adds a belief base that contains this belief.
|
void |
AbstractBelief.addBeliefBase(BeliefBase beliefBase) |
void |
DerivedBelief.removeBeliefBase(BeliefBase beliefBase)
Removes a belief base associated with this belief.
|
void |
Belief.removeBeliefBase(BeliefBase beliefBase)
Removes a belief base that does not contain this belief anymore.
|
void |
AbstractBelief.removeBeliefBase(BeliefBase beliefBase) |
void |
DerivedBelief.setMainBeliefBase(BeliefBase mainBeliefBase)
Sets the main belief base of this belief.
|
| Modifier and Type | Field and Description |
|---|---|
protected BeliefBase |
Capability.beliefBase |
| Modifier and Type | Method and Description |
|---|---|
BeliefBase |
Capability.getBeliefBase()
Returns this capability belief base.
|
| Constructor and Description |
|---|
Capability(java.lang.String id,
BeliefBase beliefBase,
java.util.Set<Belief<?,?>> initialBeliefs,
PlanLibrary planLibrary,
java.util.Set<Plan> initialPlans)
Creates a new capability with the given id, or a generated one if it is
null.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BeliefValueGoal.isAchieved(BeliefBase beliefBase)
Checks whether this goal is achieved by verifying if the provided belief
has the value specified in this goal.
|
boolean |
BeliefSetHasValueGoal.isAchieved(BeliefBase beliefBase)
Checks whether this goal is achieved by verifying if the provided belief
set contains the value specified in this goal.
|
boolean |
BeliefPresentGoal.isAchieved(BeliefBase beliefBase)
Checks whether this goal is achieved by verifying if the provided belief
base contains the belief of this goal.
|
boolean |
BeliefNotPresentGoal.isAchieved(BeliefBase beliefBase)
Checks whether this goal is achieved by verifying if the provided belief
base contains the belief of this goal.
|
boolean |
BeliefNotNullValueGoal.isAchieved(BeliefBase beliefBase)
Checks whether this goal is achieved by verifying if the provided belief
has the value specified in this goal.
|
boolean |
BeliefGoal.isAchieved(BeliefBase beliefBase)
Checks whether this goal is achieved by checking the provided belief
base.
|
| Modifier and Type | Method and Description |
|---|---|
BeliefBase |
SequentialActionPlanBody.getBeliefBase() |
BeliefBase |
PlanBody.getBeliefBase()
Returns the belief base of the capability associated with the plan of
this plan body.
|
BeliefBase |
ParallelActionPlanBody.getBeliefBase() |
BeliefBase |
FSMPlanBody.getBeliefBase() |
BeliefBase |
AbstractPlanBody.getBeliefBase() |