Weighted

fun <T> Weighted(environment: Euclidean2DEnvironment<T>, pedestrian: Pedestrian2D<T>, weight: SteeringAction<T, Euclidean2DPosition>.() -> Double)

Parameters

environment
    the environment in which the pedestrian moves.
pedestrian
    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.