ConstantDistanceRandomWalk
fun <T> ConstantDistanceRandomWalk( node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, randomGenerator: RandomGenerator, distance: Double, speed: Double)
Content copied to clipboard
Parameters
environment
environment containing the node
node
the node to move
reaction
the reaction containing this action
randomGenerator
random number generator to use for the decisions
distance
the distance to travel before picking another one
speed
the speed