Package it.unibo.alchemist.model.actions
Class LevyWalk
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public final class LevyWalk<T extends Object> extends GenericRandomWalker<T>
Selects a target based on a random direction extracted from randomGenerator, and a random distance extracted from a ParetoDistribution of parameters scale and shape. Moves toward the targets at a constant speed and changes targets on collision.
-
-
Constructor Summary
Constructors Constructor Description LevyWalk(Node<T> node, Reaction<T> reaction, Environment<T, Euclidean2DPosition> environment, RandomGenerator randomGenerator, Double speed, Double scale, Double shape)
LevyWalk(Node<T> node, Reaction<T> reaction, Environment<T, Euclidean2DPosition> environment, RandomGenerator randomGenerator, Double speed, Double scale)
LevyWalk(Node<T> node, Reaction<T> reaction, Environment<T, Euclidean2DPosition> environment, RandomGenerator randomGenerator, Double speed)
-
Method Summary
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction
getOutboundDependencies, toString
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode
execute, getContext
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractConfigurableMoveNode
getNextPosition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LevyWalk
LevyWalk(Node<T> node, Reaction<T> reaction, Environment<T, Euclidean2DPosition> environment, RandomGenerator randomGenerator, Double speed, Double scale, Double shape)
-
LevyWalk
LevyWalk(Node<T> node, Reaction<T> reaction, Environment<T, Euclidean2DPosition> environment, RandomGenerator randomGenerator, Double speed, Double scale)
-
LevyWalk
LevyWalk(Node<T> node, Reaction<T> reaction, Environment<T, Euclidean2DPosition> environment, RandomGenerator randomGenerator, Double speed)
-
-
-
-