Package-level declarations

Types

Link copied to clipboard
class ConstantDistanceRandomWalk<T>(node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, randomGenerator: RandomGenerator, distance: Double, speed: Double) : GenericRandomWalker<T>

Walks a fixed distance in a uniformly random direction at the given speed, then repeats the move by selecting a new random direction.

Link copied to clipboard
open class EuclideanConfigurableMoveNode<T, P : Position<P>, Vector<P>>(environment: Environment<T, P>, node: Node<T>, routingStrategy: RoutingStrategy<T, P>, targetSelectionStrategy: TargetSelectionStrategy<T, P>, speedSelectionStrategy: SpeedSelectionStrategy<T, P>) : AbstractConfigurableMoveNode<T, P>

An AbstractConfigurableMoveNode specialized for Euclidean spaces.

Link copied to clipboard
class FollowAtDistance<T>(node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, target: Molecule, distance: Double, speed: Double) : AbstractAction<T>

Causes a node to follow a destination read from a Molecule, maintaining a fixed distance and respecting a maximum speed.

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

Link copied to clipboard
class LevyWalk<T> @JvmOverloads constructor(node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, randomGenerator: RandomGenerator, speed: Double, scale: Double = 1.0, shape: Double = 1.0) : GenericRandomWalker<T>

Selects a target based on a random direction extracted from randomGenerator, and a random distance extracted from a ParetoDistribution of parameters scale and shape. Moves toward the targets at a constant speed and changes targets on collision.