Interact With Others
class InteractWithOthers<T, P : Position<out P>?> : SpeedSelectionStrategy<T, P>
Content copied to clipboard
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
Functions
Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: Reaction<T>): SpeedSelectionStrategy<T, P>
Content copied to clipboard
Link copied to clipboard