-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Action,it.unibo.alchemist.model.interfaces.SteeringAction,java.io.Serializable
public abstract class AbstractSteeringAction<T extends Object, P extends Position<P>, Vector<P>, A extends GeometricTransformation<P>> extends AbstractMoveNode<T, P> implements SteeringAction<T, P>
A SteeringAction in a vector space. The implementation of nextPosition is left to subclasses.
-
-
Constructor Summary
Constructors Constructor Description AbstractSteeringAction(Environment<T, P> env, Reaction<T> reaction, Pedestrian<T, P, A> pedestrian)
-
Method Summary
Modifier and Type Method Description DoublegetMaxWalk()PgetNextPosition()Action<T>cloneAction(Node<T> node, Reaction<T> reaction)-
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractMoveNode
declareDependencyTo, getConcentration, getOutboundDependencies, nodeContains, removeConcentration, setConcentration, toString -
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractSteeringAction
execute, getContext, getCurrentPosition, getEnvironment, getNodePosition, isAbsolute, nextPosition -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractSteeringAction
AbstractSteeringAction(Environment<T, P> env, Reaction<T> reaction, Pedestrian<T, P, A> pedestrian)
-
-
Method Detail
-
getMaxWalk
Double getMaxWalk()
-
getNextPosition
P getNextPosition()
-
-
-
-