-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Node,it.unibo.alchemist.model.interfaces.OrientingAgent,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 OrientingPedestrian<T extends Object, V extends Vector<V>, A extends GeometricTransformation<V>, L extends ConvexGeometricShape<V, A>, R extends Object> implements Pedestrian<T, V, A>, OrientingAgent<V, A, L, R>
A pedestrian capable of orienting itself.
-
-
Method Summary
Modifier and Type Method Description List<InfluenceSphere>getSenses()abstract InfluenceSpheregetFieldOfView()The field of view of the pedestrian. abstract PedestrianGroup<T, V, A>getMembershipGroup()The group this pedestrian belongs to. abstract GeometricShape<V, A>getShape()abstract DoublegetKnowledgeDegree()The knowledge degree of the agent concerning the environment. abstract NavigationGraph<V, A, L, R>getCognitiveMap()The cognitive map of the agent. abstract Map<ConvexGeometricShape<V, A>, Integer>getVolatileMemory()The volatile memory of the agent: it models the ability to remember areas of the environment already visited since the start of the simulation. -
Methods inherited from class it.unibo.alchemist.model.interfaces.OrientingPedestrian
registerVisit, 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
-
getSenses
List<InfluenceSphere> getSenses()
-
getFieldOfView
abstract InfluenceSphere getFieldOfView()
The field of view of the pedestrian.
-
getMembershipGroup
abstract PedestrianGroup<T, V, A> getMembershipGroup()
The group this pedestrian belongs to.
-
getShape
abstract GeometricShape<V, A> getShape()
-
getKnowledgeDegree
abstract Double getKnowledgeDegree()
The knowledge degree of the agent concerning the environment. This is a Double value in 0, 1 describing the percentage of environment the agent is familiar with prior to the start of the simulation (thus it does not take into account the knowledge the pedestrian will gain during it, namely the volatileMemory).
-
getCognitiveMap
abstract NavigationGraph<V, A, L, R> getCognitiveMap()
The cognitive map of the agent. It's a graph composed of landmarks (elements of the environment easy to remember due to their uniqueness) and spatial relations between them. It's modeled as a NavigationGraph.
-
getVolatileMemory
abstract Map<ConvexGeometricShape<V, A>, Integer> getVolatileMemory()
The volatile memory of the agent: it models the ability to remember areas of the environment already visited since the start of the simulation. Each area is paired with the number of visits. Areas are assumed to be represented as ConvexGeometricShapes, as in NavigationGraphs.
-
-
-
-