Package-level declarations
Types
Link copied to clipboard
class RandomTarget<T>(environment: Environment<T, Euclidean2DPosition>, node: Node<T>, directionRng: RandomGenerator, distanceDistribution: RealDistribution) : ChangeTargetOnCollision<T, Euclidean2DPosition>
Selects a target for node based on a random direction extracted from directionRng, and a random distance extracted from distanceDistribution, stopping where environment stops node. T is the type of the concentration of the node.