Class FollowTargetOnMap
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.movestrategies.TargetSelectionStrategy,java.io.Serializable
public class FollowTargetOnMap<T> extends FollowTarget<T, P>This strategy reads the value of a "target" molecule and tries to interpret it as a coordinate.
-
-
Constructor Summary
Constructors Constructor Description FollowTargetOnMap(Environment<T, GeoPosition> environment, Node<T> node, Molecule targetMolecule)
-
Method Summary
Modifier and Type Method Description FollowTargetOnMap<T>cloneIfNeeded(Node<T> destination, Reaction<T> reaction)-
Methods inherited from class it.unibo.alchemist.model.movestrategies.target.FollowTarget
getTarget, getTargetMolecule -
Methods inherited from class it.unibo.alchemist.model.movestrategies.TargetSelectionStrategy
cloneIfNeeded -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
cloneIfNeeded
FollowTargetOnMap<T> cloneIfNeeded(Node<T> destination, Reaction<T> reaction)
-
-
-
-