Class TargetMapWalker
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action,java.io.Serializable
public class TargetMapWalker<T, O extends RoutingServiceOptions<O>, S extends RoutingService<GeoPosition, O>> extends MoveOnMap<T, O, S>
-
-
Field Summary
Fields Modifier and Type Field Description public final static doubleDEFAULT_SPEEDpublic final static doubleDEFAULT_RANGEpublic final static doubleDEFAULT_INTERACTION
-
Constructor Summary
Constructors Constructor Description TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule, double speed, double interaction, double range)TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule, double speed)TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule)TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule, String interactingMolecule, double speed, double interaction, double range)TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule, double speed)TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.maps.actions.MoveOnMap
cloneAction, getEnvironment -
Methods inherited from class it.unibo.alchemist.model.actions.AbstractConfigurableMoveNode
getNextPosition -
Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode
execute, getContext -
Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction
getOutboundDependencies, toString -
Methods inherited from class it.unibo.alchemist.model.Action
cloneAction -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
TargetMapWalker
TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule, double speed, double interaction, double range)
- Parameters:
environment- the environmentnode- the nodereaction- the reaction.trackMolecule- the molecule to track.interactingMolecule- the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.speed- the speed at which this MoveOnMap will moveinteraction- the higher, the more the MoveOnMap slows down when obstacles are foundrange- the range in which searching for possible obstacles.
-
TargetMapWalker
TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule, double speed)
- Parameters:
environment- the environmentnode- the nodereaction- the reaction.trackMolecule- the molecule to track.interactingMolecule- the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.speed- the speed at which this MoveOnMap will move when obstacles are found
-
TargetMapWalker
TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule)
- Parameters:
environment- the environmentnode- the nodereaction- the reaction.trackMolecule- the molecule to track.interactingMolecule- the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.
-
TargetMapWalker
TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule, String interactingMolecule, double speed, double interaction, double range)
- Parameters:
environment- the environmentnode- the nodereaction- the reaction.trackMolecule- the molecule to track.interactingMolecule- the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.speed- the speed at which this MoveOnMap will moveinteraction- the higher, the more the MoveOnMap slows down when obstacles are foundrange- the range in which searching for possible obstacles.
-
TargetMapWalker
TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule, double speed)
- Parameters:
environment- the environmentnode- the nodereaction- the reaction.trackMolecule- the molecule to track.speed- the speed at which this MoveOnMap will move
-
-
-
-