Interface OrientingProperty
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.NodeProperty
,java.io.Serializable
public interface OrientingProperty<T extends Object, P extends Position<P>, Vector<P>, A extends Transformation<P>, L extends ConvexShape<P, A>, N extends ConvexShape<P, A>, E extends Object> implements NodeProperty<T>
A node's capability to orient.
-
-
Method Summary
Modifier and Type Method Description <M extends ConvexShape<P, A>> Unit
registerVisit(M area)
Registers a visit to the provided area in the agent's volatileMemory. abstract L
createLandmarkIn(N area)
Creates a landmark entirely contained in the given area. abstract Double
getKnowledgeDegree()
The knowledge degree of the agent concerning the environment. abstract EnvironmentWithGraph<?, T, P, A, N, E>
getEnvironment()
The environment in which the node moves. abstract NavigationGraph<P, A, L, E>
getCognitiveMap()
The cognitive map of the agent. abstract Map<ConvexShape<P, 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. -
-
Method Detail
-
registerVisit
<M extends ConvexShape<P, A>> Unit registerVisit(M area)
Registers a visit to the provided area in the agent's volatileMemory.
-
createLandmarkIn
abstract L createLandmarkIn(N area)
Creates a landmark entirely contained in the given area. If such area contains one or more destinations, the returned landmark must contain at least one of them.
-
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).
-
getEnvironment
abstract EnvironmentWithGraph<?, T, P, A, N, E> getEnvironment()
The environment in which the node moves.
-
getCognitiveMap
abstract NavigationGraph<P, A, L, E> 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<ConvexShape<P, 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 ConvexShapes, as in NavigationGraphs.
-
-
-
-