CognitiveAgentArrive

fun <T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>> CognitiveAgentArrive(env: Environment<T, P>, reaction: Reaction<T>, pedestrian: Pedestrian<T, P, A>, decelerationRadius: Double, arrivalTolerance: Double, vararg coordinates: Number)


fun <T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>> CognitiveAgentArrive(env: Environment<T, P>, reaction: Reaction<T>, pedestrian: Pedestrian<T, P, A>, decelerationRadius: Double, arrivalTolerance: Double, target: P)

Parameters

env
    the environment inside which the pedestrian moves.
reaction
    the reaction which executes this action.
pedestrian
    the owner of this action.
decelerationRadius
    the distance from which the pedestrian starts to decelerate.
arrivalTolerance
    the distance at which the pedestrian is considered arrived to the target.
target
    the position the pedestrian moves towards.