HeterogeneousPedestrianModel

data class HeterogeneousPedestrianModel<T, S : Vector<S>, A : Transformation<S>>(val age: Age, val gender: Gender, val speed: Speed, val compliance: Double = Compliance(age, gender).level, val helpAttitude: HelpAttitude = HelpAttitude(age, gender))

A pedestrian with individual characteristics.

Constructors

Link copied to clipboard
constructor(age: Age, gender: Gender, speed: Speed, compliance: Double = Compliance(age, gender).level, helpAttitude: HelpAttitude = HelpAttitude(age, gender))

Properties

Link copied to clipboard
val age: Age

The age of this pedestrian.

Link copied to clipboard

Value between 0 and 1 representing the attitude towards conforming to social rules of this pedestrian.

Link copied to clipboard

The gender of this pedestrian.

Link copied to clipboard

The attitude of an agent towards helping another agent.

Link copied to clipboard

The speed of an agent considering its age, gender and a random factor.

Functions

Link copied to clipboard

Value between 0 and 1 representing the probability this pedestrian will help another pedestrian in difficulty.