CognitivePedestrian

interface CognitivePedestrian<T, V : Vector<V>, A : GeometricTransformation<V>> : Pedestrian<T, V, A>

A heterogeneous pedestrian with cognitive capabilities.

Functions

Link copied to clipboard
abstract fun addReaction(p0: Reaction<T>)
Link copied to clipboard
abstract fun cloneNode(p0: Time): Node<T>
Link copied to clipboard
abstract operator fun compareTo(other: Node<T>): Int
Link copied to clipboard
abstract operator fun contains(p0: Molecule): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in Reaction<T>>)
Link copied to clipboard
abstract fun getConcentration(p0: Molecule): T
Link copied to clipboard
abstract fun getContents(): MutableMap<Molecule, T>
Link copied to clipboard
abstract fun getId(): Int
Link copied to clipboard
abstract fun getMoleculeCount(): Int
Link copied to clipboard
abstract fun getReactions(): MutableList<Reaction<T>>
Link copied to clipboard
open fun influencialPeople(): List<CognitiveModel>

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

Link copied to clipboard
abstract operator override fun iterator(): MutableIterator<Reaction<T>>
Link copied to clipboard
abstract fun removeConcentration(p0: Molecule)
Link copied to clipboard
abstract fun removeReaction(p0: Reaction<T>)
Link copied to clipboard
abstract fun setConcentration(p0: Molecule, p1: T)
Link copied to clipboard
abstract fun speed(): Double

The speed at which the pedestrian is moving.

Link copied to clipboard
open fun spliterator(): Spliterator<Reaction<T>>

Properties

Link copied to clipboard
abstract val cognitiveModel: CognitiveModel

The mind model of this pedestrian.

Link copied to clipboard
abstract val fieldOfView: InfluenceSphere

The field of view of the pedestrian.

Link copied to clipboard
abstract val membershipGroup: PedestrianGroup<T, V, A>

The group this pedestrian belongs to.

Link copied to clipboard
open val senses: List<InfluenceSphere>

The list of influence spheres belonging to this pedestrian (by default, only its fieldOfView).

Link copied to clipboard
abstract val shape: GeometricShape<V, A>

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard