CognitiveAgentObstacleAvoidance

fun <W : Obstacle2D<Euclidean2DPosition>, T> CognitiveAgentObstacleAvoidance(env: Environment2DWithObstacles<W, T>, reaction: SteeringBehavior<T>, pedestrian: Pedestrian2D<T>, proximityRange: Double)

Parameters

env
    the environment inside which the pedestrian moves.
reaction
    the reaction which executes this action.
pedestrian
    the owner of this action.
proximityRange
    the distance at which an obstacle is perceived by the pedestrian.