Levy Walk
class LevyWalk<T>(node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, speed: Double, scale: Double = 1.0, shape: Double = 1.0) : 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.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
override val outboundDependencies: @EnhancedNullability org/danilopianini/util/ListSet<out it/unibo/alchemist/model/Dependency!>
Functions
Link copied to clipboard
Link copied to clipboard
Detects if the move is in absolute or relative coordinates, then calls the correct method on the Environment.
Link copied to clipboard