DistanceWeighted

fun <T> DistanceWeighted(environment: Euclidean2DEnvironment<T>, pedestrian: Pedestrian2D<T>, defaultWeight: Double = 1.0)

Parameters

environment
    the environment in which the pedestrian moves.
pedestrian
    the owner of the steering action this strategy belongs to.