CognitiveAgentFollowLayer

fun CognitiveAgentFollowLayer(    euclidean: Euclidean2DEnvironment<Number>,     reaction: Reaction<Number>,     pedestrian: PedestrianProperty<Number>,     targetMolecule: Molecule)

Parameters

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