Weighted

constructor(environment: Euclidean2DEnvironment<T>, node: Node<T>, weight: SteeringAction<T, Euclidean2DPosition>.() -> Double)(source)

Parameters

environment
the environment in which the node moves.
node
the owner of the steering actions combined by this strategy.
weight
lambda used to assign a weight to each steering action: the higher the weight, the greater the
importance of the action.