-
- 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 HeterogeneousPedestrian<T extends Object, S extends Vector<S>, A extends GeometricTransformation<S>> implements Pedestrian<T, S, A>
Pedestrians that can differ by age, geneder, etc, depending on their HeterogeneousPedestrianModel.
-
-
Method Summary
Modifier and Type Method Description abstract HeterogeneousPedestrianModel<T, S, A>getPedestrianModel()The pedestrian model, capturing its characteristics. List<InfluenceSphere>getSenses()abstract InfluenceSpheregetFieldOfView()The field of view of the pedestrian. abstract PedestrianGroup<T, S, A>getMembershipGroup()The group this pedestrian belongs to. abstract GeometricShape<S, A>getShape()-
Methods inherited from class it.unibo.alchemist.model.interfaces.HeterogeneousPedestrian
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
-
getPedestrianModel
abstract HeterogeneousPedestrianModel<T, S, A> getPedestrianModel()
The pedestrian model, capturing its characteristics.
-
getSenses
List<InfluenceSphere> getSenses()
-
getFieldOfView
abstract InfluenceSphere getFieldOfView()
The field of view of the pedestrian.
-
getMembershipGroup
abstract PedestrianGroup<T, S, A> getMembershipGroup()
The group this pedestrian belongs to.
-
getShape
abstract GeometricShape<S, A> getShape()
-
-
-
-