public class SingleCapabilityAgent extends AbstractBDIAgent
goalListeners| Constructor and Description |
|---|
SingleCapabilityAgent()
Default constructor.
|
SingleCapabilityAgent(Capability capability)
Creates a new BDIAgent with the given capability.
|
| Modifier and Type | Method and Description |
|---|---|
Capability |
getCapability()
Returns the capability of this agent.
|
void |
setCapability(Capability capability)
Sets the capability of this agent.
|
addGoal, addGoal, addGoal, addGoal, addGoalListener, addSoftgoal, canHandle, dropGoal, dropSoftoal, getAllCapabilities, getBeliefRevisionStrategy, getBeliefs, getCapabilities, getDeliberationFunction, getGoalListeners, getGoalOwner, getGoals, getIntentions, getOptionGenerationFunction, getPlanSelectionStrategy, getSoftgoals, hasGoal, init, removeGoalListener, restart, setBeliefRevisionStrategy, setDeliberationFunction, setOptionGenerationFunction, setPlanSelectionStrategy, setup, takeDownaddBehaviour, afterClone, afterMove, beforeClone, beforeMove, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, createMessageQueue, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAMS, getArguments, getBootProperties, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AInterface, getO2AObject, getProperty, getQueueSize, getState, here, isRestarting, join, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, registerO2AInterface, removeBehaviour, removeTimer, restartLater, restore, restoreBufferedState, run, send, setArguments, setEnabledO2ACommunication, setGenerateBehaviourEvents, setO2AManager, setQueueSize, waitUntilStarted, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblockingReceive, blockingReceive, blockingReceive, blockingReceive, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAMS, getContainerController, getContentManager, getCurQueueSize, getHap, getHelper, getLocalName, getName, getQueueSize, here, putBack, receive, receive, send, setQueueSizepublic SingleCapabilityAgent()
public SingleCapabilityAgent(Capability capability)
capability - the capability to be added to the agent.public Capability getCapability()
public void setCapability(Capability capability)
capability - the capability to set.