Package-level declarations

Types

Link copied to clipboard
abstract class ChangeTargetOnCollision<T, P : Position<P>>(getCurrentPosition: () -> P) : TargetSelectionStrategy<T, P>

Base class for TargetSelectionStrategy offering automatic target change on collision and utilities for initialization. getCurrentPosition should return the current position of the object to move. P is the position type to use.

Link copied to clipboard
class RandomTarget<T>(environment: Environment<T, Euclidean2DPosition>, getCurrentPosition: () -> Euclidean2DPosition, makePosition: (Double, Double) -> Euclidean2DPosition, directionRng: RandomGenerator, distanceDistribution: RealDistribution) : ChangeTargetOnCollision<T, Euclidean2DPosition>

Selects a target based on a random direction extracted from directionRng, and a random distance extracted from distanceDistribution. getCurrentPosition should return the current position of the object to move. T is the type of the concentration of the node.

Link copied to clipboard
Strategy interface describing how the routing between two points happens.
Link copied to clipboard
Given the current target Position, this strategy interface computes the current Node's speed.
Link copied to clipboard
This interface models a strategy for selecting positions where to move.