Class SAPERELocalAgent
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,it.unibo.alchemist.model.sapere.ILsaAction
,java.io.Serializable
public abstract class SAPERELocalAgent extends SAPEREAgent
A SAPERE Agent that does not do actions on neighbors.
-
-
Constructor Summary
Constructors Constructor Description SAPERELocalAgent(ILsaNode node)
Creates a new SAPERE Local Agent stub. SAPERELocalAgent(ILsaNode node, ILsaMolecule m1)
Creates a new SAPERE Agent stub. SAPERELocalAgent(ILsaNode node, ILsaMolecule m1, ILsaMolecule m2)
Creates a new SAPERE Agent stub. SAPERELocalAgent(ILsaNode node, ILsaMolecule m1, ILsaMolecule m2, ILsaMolecule m3)
Creates a new SAPERE Agent stub.
-
Method Summary
Modifier and Type Method Description final Context
getContext()
-
Methods inherited from class it.unibo.alchemist.model.sapere.actions.SAPEREAgent
cloneAction, toString
-
Methods inherited from class it.unibo.alchemist.model.sapere.actions.LsaAbstractAction
cloneAction, getNode, setExecutionContext
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction
getOutboundDependencies, toString
-
Methods inherited from class it.unibo.alchemist.model.sapere.ILsaAction
cloneAction, getOutboundDependencies, setExecutionContext
-
Methods inherited from class it.unibo.alchemist.model.Action
cloneAction, execute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SAPERELocalAgent
SAPERELocalAgent(ILsaNode node)
Creates a new SAPERE Local Agent stub.- Parameters:
node
- The node in which this agent stays
-
SAPERELocalAgent
SAPERELocalAgent(ILsaNode node, ILsaMolecule m1)
Creates a new SAPERE Agent stub.- Parameters:
node
- The node in which this agent staysm1
- The molecule template it modifies
-
SAPERELocalAgent
SAPERELocalAgent(ILsaNode node, ILsaMolecule m1, ILsaMolecule m2)
Creates a new SAPERE Agent stub.- Parameters:
node
- The node in which this agent staysm1
- The first molecule template it modifiesm2
- The second molecule template it modifies
-
SAPERELocalAgent
SAPERELocalAgent(ILsaNode node, ILsaMolecule m1, ILsaMolecule m2, ILsaMolecule m3)
Creates a new SAPERE Agent stub.- Parameters:
node
- The node in which this agent staysm1
- The first molecule template it modifiesm2
- The second molecule template it modifiesm3
- The third molecule template it modifies
-
-
Method Detail
-
getContext
final Context getContext()
-
-
-
-