HumanProperty

A capability representing a pedestrian's individual characteristics.

Inheritors

Properties

Link copied to clipboard
abstract val age: Age

The age of this pedestrian.

Link copied to clipboard
abstract val compliance: Double

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

Link copied to clipboard
abstract val gender: Gender

The gender of this pedestrian.

Link copied to clipboard

The attitude of an agent towards helping another agent.

Link copied to clipboard
abstract val node: Node<T>
Link copied to clipboard
abstract val speed: Speed

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

Functions

Link copied to clipboard
abstract fun cloneOnNewNode(node: Node<T>): NodeProperty<T>
Link copied to clipboard
open fun probabilityOfHelping(toHelp: HeterogeneousPedestrianModel<T, S, A>, isGroupMember: Boolean): Double

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