HeterogeneousPedestrian

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

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: <Error class: unknown class>, node: Node<T>)

Properties

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

The node to which the capability is added.

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>

Clones this property to be added on a new node.

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