Class SAPERENeighborAgent
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,it.unibo.alchemist.model.sapere.ILsaAction
,java.io.Serializable
public abstract class SAPERENeighborAgent<P extends Position<P>> extends SAPEREAgent
A SAPERE Agent that modifies something on neighboring nodes.
-
-
Constructor Summary
Constructors Constructor Description SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1)
Creates a new SAPERE Neighbor Agent stub. SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1, ILsaMolecule m2)
Creates a new SAPERE Agent stub. SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, 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
-
SAPERENeighborAgent
SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1)
Creates a new SAPERE Neighbor Agent stub.- Parameters:
environment
- The current environmentnode
- The node in which this agent staysm1
- The molecule template it modifies
-
SAPERENeighborAgent
SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1, ILsaMolecule m2)
Creates a new SAPERE Agent stub.- Parameters:
environment
- The current environmentnode
- The node in which this agent staysm1
- The first molecule template it modifiesm2
- The second molecule template it modifies
-
SAPERENeighborAgent
SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1, ILsaMolecule m2, ILsaMolecule m3)
Creates a new SAPERE Agent stub.- Parameters:
environment
- The current environmentnode
- 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()
-
-
-
-