Generic Random Walker
open class GenericRandomWalker<T>(node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, randomGenerator: <Error class: unknown class>, speed: Double, distanceDistribution: <Error class: unknown class>) : EuclideanConfigurableMoveNode<T, Euclidean2DPosition>
Chooses random targets in a direction extracted from randomGenerator at a distance extracted from distanceDistribution. Moves the node towards the targets at the given constant speed. Changes target on collision.
Inheritors
Constructors
Link copied to clipboard
constructor(node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, randomGenerator: <Error class: unknown class>, speed: Double, distanceDistribution: <Error class: unknown class>)