CognitivePedestrian

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

A cognitive pedestrian's movement capability.

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