AbstractCognitivePedestrian

fun <T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>, F : GeometricShapeFactory<P, A>> AbstractCognitivePedestrian(environment: PhysicsEnvironment<T, P, A, F>, randomGenerator: RandomGenerator, backingNode: Node<T>, age: Age, gender: Gender, danger: Molecule? = null, group: PedestrianGroup<T, P, A>? = null, cognitive: CognitiveModel? = null)

Parameters

environment
    the environment inside which this pedestrian moves.
randomGenerator
    the simulation {@link RandomGenerator}.
age
    the age of this pedestrian.
gender
    the gender of this pedestrian
danger
    the molecule associated to danger in the environment.