PhysicalPedestrian2D

A PhysicalPedestrian in an euclidean bidimensional space. This pedestrian has a circular comfortArea of radius equal to its shape radius plus a comfortRay. This is derived from the work of Pelechano et al.

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
Link copied to clipboard
abstract fun removeConcentration(p0: Molecule)
Link copied to clipboard
abstract fun removeReaction(p0: Reaction<T>)
Link copied to clipboard
open override fun repulsionForce(other: NodeWithShape<T, Euclidean2DPosition, *>): Euclidean2DPosition

Computes the repulsion force caused by a node that entered the comfortArea. This is derived from the work of Pelechano et al.

Link copied to clipboard
abstract fun setConcentration(p0: Molecule, p1: T)
Link copied to clipboard
abstract fun speed(): Double
Link copied to clipboard
open fun spliterator(): Spliterator<Reaction<T>>

Properties

Link copied to clipboard
open override val comfortArea: Euclidean2DShape

The comfort area of this pedestrian, it's a circle of radius shape.radius + comfortRay.

Link copied to clipboard
abstract val comfortRay: Double

The comfort ray of this pedestrian, this is added to the radius of its shape to obtain the comfortArea.

Link copied to clipboard
abstract val environment: Physics2DEnvironment<T>
Link copied to clipboard
abstract val fieldOfView: InfluenceSphere
Link copied to clipboard
Link copied to clipboard
open val senses: List<InfluenceSphere>
Link copied to clipboard
abstract val shape: GeometricShape<Euclidean2DPosition, Euclidean2DTransformation>

Inheritors

Link copied to clipboard
Link copied to clipboard