RoutingStrategy

Strategy interface describing how the routing between two points happens.

Parameters

<T>

Concentration type

<P>

position type

Functions

Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: Reaction<T>): RoutingStrategy<T, P>
Link copied to clipboard
abstract fun computeRoute(currentPos: P, finalPos: P): Route<P>
Computes a route between two positions.