-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Node,it.unibo.alchemist.model.interfaces.Pedestrian,it.unibo.alchemist.model.interfaces.Pedestrian2D,it.unibo.alchemist.model.interfaces.PhysicalNode,it.unibo.alchemist.model.interfaces.PhysicalPedestrian,it.unibo.alchemist.model.interfaces.nodes.NodeWithShape,java.io.Serializable,kotlin.Comparable,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public interface PhysicalPedestrian2D<T extends Object> implements PhysicalPedestrian<T, Euclidean2DPosition, Euclidean2DTransformation, Euclidean2DShapeFactory>, Pedestrian2D<T>
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.
-
-
Method Summary
Modifier and Type Method Description Euclidean2DPositionrepulsionForce(NodeWithShape<T, Euclidean2DPosition, ?> other)Computes the repulsion force caused by a node that entered the comfortArea. abstract DoublegetComfortRay()The comfort ray of this pedestrian, this is added to the radius of its shape to obtain the comfortArea. GeometricShape<Euclidean2DPosition, Euclidean2DTransformation>getComfortArea()abstract GeometricShape<Euclidean2DPosition, Euclidean2DTransformation>getShape()abstract InfluenceSpheregetFieldOfView()abstract PedestrianGroup<T, Euclidean2DPosition, Euclidean2DTransformation>getMembershipGroup()List<InfluenceSphere>getSenses()abstract Physics2DEnvironment<T>getEnvironment()-
Methods inherited from class it.unibo.alchemist.model.interfaces.PhysicalPedestrian2D
physicalForces -
Methods inherited from class it.unibo.alchemist.model.interfaces.nodes.NodeWithShape
addReaction, cloneNode, contains, getConcentration, getContents, getId, getMoleculeCount, getReactions, removeConcentration, removeReaction, setConcentration -
Methods inherited from class it.unibo.alchemist.model.interfaces.Node
compareTo, iterator -
Methods inherited from class kotlin.collections.MutableIterable
forEach, spliterator -
Methods inherited from class it.unibo.alchemist.model.interfaces.PhysicalPedestrian
speed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
repulsionForce
Euclidean2DPosition repulsionForce(NodeWithShape<T, Euclidean2DPosition, ?> other)
Computes the repulsion force caused by a node that entered the comfortArea. This is derived from the work of Pelechano et al.
-
getComfortRay
abstract Double getComfortRay()
The comfort ray of this pedestrian, this is added to the radius of its shape to obtain the comfortArea.
-
getComfortArea
GeometricShape<Euclidean2DPosition, Euclidean2DTransformation> getComfortArea()
-
getShape
abstract GeometricShape<Euclidean2DPosition, Euclidean2DTransformation> getShape()
-
getFieldOfView
abstract InfluenceSphere getFieldOfView()
-
getMembershipGroup
abstract PedestrianGroup<T, Euclidean2DPosition, Euclidean2DTransformation> getMembershipGroup()
-
getSenses
List<InfluenceSphere> getSenses()
-
getEnvironment
abstract Physics2DEnvironment<T> getEnvironment()
-
-
-
-