Nearest

fun <T> Nearest(environment: Euclidean2DEnvironment<T>, pedestrian: Pedestrian2D<T>)

Parameters

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