Pedestrian2D

interface Pedestrian2D<T> : Pedestrian<T, Euclidean2DPosition, Euclidean2DTransformation>

A bidimensional pedestrian.

Types

Link copied to clipboard
object Companion

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
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 environment: Physics2DEnvironment<T>

Access to the environment.

Link copied to clipboard
open override val fieldOfView: FieldOfView2D<T>

The field of view of a pedestrian in the Euclidean world. Implementors should override this property to prevent the continuous creation of new FieldOfView2Ds.

Link copied to clipboard

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
open override val shape: Euclidean2DShape

The shape of any pedestrian in the Euclidean world. Implementors should override this property to prevent the continuous creation of new Euclidean2DShapes.

Inheritors

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