Weighted

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

Parameters

environment

the environment in which the node moves.

node

the owner of the steering actions combined by this strategy.

weight

an extension lambda that assigns a numeric weight to each steering action.

Type Parameters

T

the concentration type of the simulation.