CognitiveAgentFlee

fun <T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>> CognitiveAgentFlee(env: Environment<T, P>, reaction: Reaction<T>, pedestrian: Pedestrian<T, P, A>, vararg coords: Double)

Parameters

env
    the environment inside which the pedestrian moves.
reaction
    the reaction which executes this action.
pedestrian
    the owner of this action.
coords
    the coordinates of the position the pedestrian moves away.