-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Action,java.io.Serializable
public class SAPEREWalkerRiseGradient extends MoveOnMap<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>
-
-
Constructor Summary
Constructors Constructor Description SAPEREWalkerRiseGradient(MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService> environment, ILsaNode node, Reaction<List<ILsaMolecule>> reaction, double speed, double interaction, double range, Molecule templateLSA, int neighPos)SAPEREWalkerRiseGradient(MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService> environment, ILsaNode node, Reaction<List<ILsaMolecule>> reaction, Molecule tag, double speed, double interaction, double range, Molecule templateLSA, int neighPos)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.implementations.actions.MoveOnMap
cloneAction, getEnvironment -
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractConfigurableMoveNode
getNextPosition -
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractMoveNode
execute, getContext -
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractAction
getOutboundDependencies, toString -
Methods inherited from class it.unibo.alchemist.model.interfaces.Action
cloneAction -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SAPEREWalkerRiseGradient
SAPEREWalkerRiseGradient(MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService> environment, ILsaNode node, Reaction<List<ILsaMolecule>> reaction, double speed, double interaction, double range, Molecule templateLSA, int neighPos)
- Parameters:
environment- the environmentnode- the nodereaction- the reaction (used to compute the movement length)speed- the average speed of the nodeinteraction- the interaction factorrange- the interaction rangetemplateLSA- the LSA template to followneighPos- the position in the template LSA that contains the next hop
-
SAPEREWalkerRiseGradient
SAPEREWalkerRiseGradient(MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService> environment, ILsaNode node, Reaction<List<ILsaMolecule>> reaction, Molecule tag, double speed, double interaction, double range, Molecule templateLSA, int neighPos)
- Parameters:
environment- the environmentnode- the nodereaction- the reaction (used to compute the movement length)tag- the molecule which identifies the interacting nodesspeed- the average speed of the nodeinteraction- the interaction factorrange- the interaction rangetemplateLSA- the LSA template to followneighPos- the position in the template LSA that contains the next hop
-
-
-
-