public class ChainBB extends ChainBBAdapter
agents: bob beliefBaseClass jason.bb.ChainBB( jason.bb.TextPersistentBB, jason.bb.IndexedBB("student(key,_)", "depot(_,_,_)") );
nextBB
APercept, ASelf, TPercept, TSelf
Constructor and Description |
---|
ChainBB() |
Modifier and Type | Method and Description |
---|---|
void |
addInChain(BeliefBase bb)
add a new BB at the end of the chain
|
java.util.List<java.lang.Class> |
getChainClasses() |
void |
init(Agent ag,
java.lang.String[] args)
Called before the MAS execution with the agent that uses this
BB and the args informed in .mas2j project.
Example in .mas2j: agent BeliefBaseClass(1,bla); the init args will be ["1", "bla"]. |
abolish, add, add, clear, clone, contains, getAll, getAsDOM, getCandidateBeliefs, getCandidateBeliefs, getLastBB, getNextAdapter, getPercepts, getRelevant, iterator, remove, setNext, size, stop, toString
public void init(Agent ag, java.lang.String[] args)
BeliefBase
agent BeliefBaseClass(1,bla);
init
in interface BeliefBase
init
in class ChainBBAdapter
public void addInChain(BeliefBase bb)
public java.util.List<java.lang.Class> getChainClasses()