ConstantSpace
This strategy makes the node move every time of a fixed amount in space.
Parameters
<T>
Concentration type
<P>
Position type
Functions
Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: NodeReaction<T>): SpeedSelectionStrategy<T, P>
Returns a clone for destination and reaction when the strategy is stateful.
Link copied to clipboard
Computes the movement length toward target.