AbstractTraceDependantSpeed
abstract class AbstractTraceDependantSpeed<T, O : RoutingServiceOptions<O>?, S : RoutingService<GeoPosition, O>?> : AbstractStrategyWithGPS, SpeedSelectionStrategy<T, GeoPosition>
This strategy dynamically tries to move the node adjusting its speed to synchronize the reaction rate and the traces' data.
Parameters
Inheritors
Constructors
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.