Cognitive

data class Cognitive<T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>, F : GeometricShapeFactory<P, A>> @JvmOverloads constructor(    environment: PhysicsEnvironment<T, P, A, F>,     val node: Node<T>,     val danger: Molecule? = null) : AbstractNodeProperty<T> , CognitiveProperty<T>

The node's CognitiveModel.

Constructors

Link copied to clipboard
fun <T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>, F : GeometricShapeFactory<P, A>> Cognitive(    environment: PhysicsEnvironment<T, P, A, F>,     node: Node<T>,     danger: Molecule? = null)

Functions

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>): Cognitive<T, P, A, F>
Link copied to clipboard
open fun influentialPeople(): List<CognitiveModel>

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

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

Properties

Link copied to clipboard
open override val cognitiveModel: CognitiveModel

The pedestrian's cognitive model.

Link copied to clipboard
open override val danger: Molecule? = null

The molecule associated with danger in the environment.

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