Class LsaAscendingAgent
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,it.unibo.alchemist.model.sapere.ILsaAction
,java.io.Serializable
public final class LsaAscendingAgent<P extends Position2D<out P>> extends SAPEREMoveNodeAgent<P>
-
-
Constructor Summary
Constructors Constructor Description LsaAscendingAgent(Reaction<List<ILsaMolecule>> reaction, Environment<List<ILsaMolecule>, P> environment, ILsaNode node, LsaMolecule molecule, int pos)
-
Method Summary
Modifier and Type Method Description void
execute()
-
Methods inherited from class it.unibo.alchemist.model.sapere.actions.SAPERELocalAgent
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, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LsaAscendingAgent
LsaAscendingAgent(Reaction<List<ILsaMolecule>> reaction, Environment<List<ILsaMolecule>, P> environment, ILsaNode node, LsaMolecule molecule, int pos)
- Parameters:
reaction
- firing reactionenvironment
- the current environmentnode
- the current nodemolecule
- the LSA to inspect once moving (typically a gradient)pos
- the position in the LSA of the value to read for identifying the new position
-
-
Method Detail
-
execute
void execute()
-
-
-
-