GenericRandomWalker

open class GenericRandomWalker<T>(    node: Node<T>,     reaction: Reaction<T>,     environment: Environment<T, Euclidean2DPosition>,     randomGenerator: RandomGenerator,     speed: Double,     distanceDistribution: RealDistribution) : AbstractEuclideanConfigurableMoveNode<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.

Constructors

Link copied to clipboard
fun <T> GenericRandomWalker(    node: Node<T>,     reaction: Reaction<T>,     environment: Environment<T, Euclidean2DPosition>,     randomGenerator: RandomGenerator,     speed: Double,     distanceDistribution: RealDistribution)

Functions

Link copied to clipboard
open override fun cloneAction(node: Node<T>, reaction: Reaction<T>): GenericRandomWalker<T>
Link copied to clipboard
open override fun execute()
Link copied to clipboard
override fun getContext(): Context
Link copied to clipboard
override fun getNextPosition(): Euclidean2DPosition
Link copied to clipboard
override fun getOutboundDependencies(): ListSet<out Dependency>
Link copied to clipboard
open override fun toString(): String

Inheritors

Link copied to clipboard
Link copied to clipboard