Physical Pedestrian
interface PhysicalPedestrian<T, P : Vector<P>, Position<P>, A : GeometricTransformation<P>, F : GeometricShapeFactory<P, A>> : PhysicalNode<T, P, A, F> , Pedestrian<T, P, A>
Content copied to clipboard
A pedestrian capable of interacting physically with others. PhysicalPedestrians have a comfortArea: when another node enters such area, this pedestrian is subject to a repulsion force. This is derived from the work of Pelechano et al. Note that PhysicalPedestrians don't actively push each other, pushing behavior emerges from the interaction of pedestrians with different comfort areas (see the article linked above).
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun physicalForces(environment: PhysicsEnvironment<T, P, A, F>): List<P>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Computes the repulsion force caused by a node that entered the comfortArea.
Link copied to clipboard
Link copied to clipboard