HeterogeneousPedestrian

open class HeterogeneousPedestrian<T, S : Vector<S>, A : Transformation<S>>(randomGenerator: RandomGenerator, node: Node<T>) : Pedestrian<T> (source)

A heterogeneous pedestrian's movement capability. Note: to use this capability the node must already have a HumanProperty.

Inheritors

Constructors

Link copied to clipboard
constructor(randomGenerator: RandomGenerator, node: Node<T>)

Properties

Link copied to clipboard
open override val node: Node<T>
Link copied to clipboard
open override val runningSpeed: Double

The node's running speed.

Link copied to clipboard
open override val walkingSpeed: Double

The node's walking speed.

Functions

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>): Pedestrian<T>
Link copied to clipboard
open override fun speed(): Double

The speed at which the pedestrian is moving.

Link copied to clipboard
open override fun toString(): String