-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Node,it.unibo.alchemist.model.interfaces.Pedestrian,it.unibo.alchemist.model.interfaces.nodes.NodeWithShape,java.io.Serializable,kotlin.Comparable,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public interface Pedestrian2D<T extends Object> implements Pedestrian<T, Euclidean2DPosition, Euclidean2DTransformation>
A bidimensional pedestrian.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPedestrian2D.Companion
-
Method Summary
Modifier and Type Method Description abstract Physics2DEnvironment<T>getEnvironment()Access to the environment. GeometricShape<Euclidean2DPosition, Euclidean2DTransformation>getShape()FieldOfView2D<T>getFieldOfView()List<InfluenceSphere>getSenses()abstract PedestrianGroup<T, Euclidean2DPosition, Euclidean2DTransformation>getMembershipGroup()The group this pedestrian belongs to. -
Methods inherited from class it.unibo.alchemist.model.interfaces.Pedestrian2D
speed -
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getEnvironment
abstract Physics2DEnvironment<T> getEnvironment()
Access to the environment.
-
getFieldOfView
FieldOfView2D<T> getFieldOfView()
-
getSenses
List<InfluenceSphere> getSenses()
-
getMembershipGroup
abstract PedestrianGroup<T, Euclidean2DPosition, Euclidean2DTransformation> getMembershipGroup()
The group this pedestrian belongs to.
-
-
-
-