| 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 | |
| bdi4jade.event |
This package contains interfaces and classes that allows creating listeners
of events that occur in an agent, such as updating beliefs or achieving
goals, and representing such events.
|
| bdi4jade.exception |
This package contains interfaces and classes that allows representation of
exceptions that may occur during the execution of BDI agents.
|
| bdi4jade.extension.planselection.utilitybased |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BeliefSet<T>
This interface represents a belief that has a set of values associated with
it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBelief<T>
This is an abstract class that implements the
Belief interface. |
class |
AbstractBeliefSet<T>
This is an abstract class that implements the
BeliefSet interface,
and extends the AbstractBeliefSet class, parameterizing it with a
parameterized Set. |
class |
PersistentBelief<T>
This class extends the
Belief and represents a persistent belief,
which is persisted in a permanent memory. |
class |
TransientBelief<T>
This class extends the
AbstractBelief class and represents a
transient belief, which is not persisted in a permanent memory. |
class |
TransientBeliefSet<T>
This class extends the
AbstractBeliefSet class and implements
BeliefSet interface, representing a transient belief set, which is
not persisted in a permanent memory. |
| Modifier and Type | Method and Description |
|---|---|
Belief<?> |
BeliefBase.getBelief(java.lang.String name)
Retrieves a belief from the belief base.
|
Belief<?> |
BeliefBase.removeBelief(java.lang.String name)
Removes a belief from the belief base.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Belief<?>> |
BeliefBase.getAllBeliefs()
Gets all beliefs of this belief base and the belief bases of the
whole-capabilities of the capability that this belief base belongs to.
|
java.util.Set<Belief<?>> |
BeliefBase.getBeliefs()
Gets all beliefs of this specific belief base.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeliefBase.addBelief(Belief<?> belief)
Adds a belief to the belief base.
|
void |
BeliefBase.addOrUpdateBelief(Belief<?> belief)
Adds a belief to the belief base.
|
| Constructor and Description |
|---|
BeliefBase(Capability capability,
java.util.Set<Belief<?>> beliefs)
Creates a belief base associated with a capability and adds the beliefs
in the provided belief set as the initial beliefs of this belief base.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Belief<?>> |
BDIAgent.getAllBeliefs()
Returns a collection of all beliefs from all capabilities 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 | Method and Description |
|---|---|
Belief<?> |
BeliefEvent.getBelief()
Returns the belief over which the event has occurred.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeliefEvent.setBelief(Belief<?> belief)
Sets the belief over which the event has occurred.
|
| Constructor and Description |
|---|
BeliefEvent(Belief<?> belief)
Creates a belief event.
|
BeliefEvent(Belief<?> belief,
BeliefEvent.Action action)
Creates a belief event.
|
BeliefEvent(Belief<?> belief,
BeliefEvent.Action action,
java.lang.Object args)
Creates a belief event.
|
| Modifier and Type | Method and Description |
|---|---|
Belief<?> |
BeliefAlreadyExistsException.getBelief() |
| Constructor and Description |
|---|
BeliefAlreadyExistsException(Belief<?> belief)
Creates a new instance of BeliefAlreadyExistsException.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SoftgoalPreferences
This is an agent transient belief (@see
TransientBelief) that stores
the preferences for softgoals. |