Cognitive Pedestrian2D
open class CognitivePedestrian2D<T>(randomGenerator: RandomGenerator, environment: Physics2DEnvironment<T>, backingNode: Node<T>, age: Age, gender: Gender, danger: Molecule?, group: PedestrianGroup2D<T>?) : AbstractCognitivePedestrian<T, Euclidean2DPosition, Euclidean2DTransformation, Euclidean2DShapeFactory> , Pedestrian2D<T>
Content copied to clipboard
Implementation of a cognitive pedestrian in the Euclidean world.
Parameters
environment
the environment inside which this pedestrian moves.
Content copied to clipboard
random Generator
the simulation {@link RandomGenerator}.
Content copied to clipboard
age
the age of this pedestrian.
Content copied to clipboard
gender
the gender of this pedestrian
Content copied to clipboard
danger
the molecule associated to danger in the environment.
Content copied to clipboard
Constructors
Link copied to clipboard
fun <T> CognitivePedestrian2D(incarnation: Incarnation<T, Euclidean2DPosition>, randomGenerator: RandomGenerator, environment: Physics2DEnvironment<T>, age: Any, gender: String, danger: Molecule? = null, group: PedestrianGroup2D<T>? = null, nodeCreationParameter: String? = null)
Content copied to clipboard
Link copied to clipboard
fun <T> CognitivePedestrian2D(randomGenerator: RandomGenerator, environment: Physics2DEnvironment<T>, backingNode: Node<T>, age: Age, gender: Gender, danger: Molecule? = null, group: PedestrianGroup2D<T>? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The mind model of all people considered influencial for this cognitive pedestrian.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
The field of view of a pedestrian in the Euclidean world. Implementors should override this property to prevent the continuous creation of new FieldOfView2Ds.
Link copied to clipboard
abstract val membershipGroup: PedestrianGroup<T, Euclidean2DPosition, Euclidean2DTransformation>
Content copied to clipboard
Link copied to clipboard
override val pedestrianModel: HeterogeneousPedestrianModel<T, Euclidean2DPosition, Euclidean2DTransformation>
Content copied to clipboard
Link copied to clipboard
The list of influence spheres belonging to this pedestrian (by default, only its fieldOfView).
Link copied to clipboard
The shape of any pedestrian in the Euclidean world. Implementors should override this property to prevent the continuous creation of new Euclidean2DShapes.