InteractWithOthers

This strategy slows down nodes depending on how many "interacting" nodes are found in the surroundings. It is an attempt at modeling crowding slow-downs.

Parameters

<P>

position type

<T>

concentration type

Constructors

Link copied to clipboard
constructor(environment: Environment<T, P>, n: Node<T>, reaction: Reaction<T>, interactingMolecule: Molecule, speed: Double, radius: Double, interaction: Double)

Functions

Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: Reaction<T>): SpeedSelectionStrategy<T, P>
Link copied to clipboard
open fun getNodeMovementLength(target: P): Double