Cognitive2D

class Cognitive2D<T> @JvmOverloads constructor(environment: Physics2DEnvironment<T>, node: Node<T>, danger: Molecule? = null) : CognitiveProperty<T> (source)

The node's CognitiveModel.

Constructors

Link copied to clipboard
constructor(environment: Physics2DEnvironment<T>, node: Node<T>, danger: Molecule? = null)

Properties

Link copied to clipboard
open override val cognitiveModel: CognitiveModel

The pedestrian's cognitive model.

Link copied to clipboard
open override val danger: Molecule?

The molecule associated with danger in the environment.

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

Functions

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>): NodeProperty<T>
Link copied to clipboard
open override fun influentialPeople(): List<CognitiveModel>

The mind model of all people considered influential for this cognitive pedestrian.