TypeBased

constructor(environment: Euclidean2DEnvironment<T>, node: Node<T>, typeWeights: Map<KClass<SteeringAction<T, Euclidean2DPosition>>, Double>, defaultWeight: Double = 0.0)

Parameters

environment

the environment in which the node moves.

node

the owner of the steering actions combined by this strategy.

typeWeights

the map of weights for each steering action KClass.

defaultWeight

fallback weight used when an action's type is not present in typeWeights.

Type Parameters

T

the concentration type.