Cognitive2D

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

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>

The node to which the capability is added.

Functions

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

Clones this property to be added on a new node.

Link copied to clipboard
open override fun influentialPeople(): List<CognitiveModel>

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