CognitiveAgentFollowLayer

fun CognitiveAgentFollowLayer(env: Euclidean2DEnvironment<Number>, reaction: Reaction<Number>, pedestrian: Pedestrian2D<Number>, targetMolecule: Molecule)

Parameters

env
    the environment inside which the pedestrian moves.
reaction
    the reaction which executes this action.
pedestrian
    the owner of this action.
targetMolecule
    the {@link Molecule} you want to know the concentration in the different positions of the environment.