CognitiveAgentAvoidLayer

constructor(environment: Euclidean2DEnvironment<Number>, reaction: Reaction<Number>, pedestrian: PedestrianProperty<Number>, targetMolecule: Molecule, viewDepth: Double = Double.POSITIVE_INFINITY)

Parameters

environment
the environment inside which the node 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.
viewDepth
the depth of view of the node, defaults to infinity.