Interface OrientingAgent
-
- All Implemented Interfaces:
public interface OrientingAgent<V extends Vector<V>, A extends Transformation<V>, L extends ConvexShape<V, A>, R extends Object>
An agent capable of orienting itself inside an environment.
-
-
Method Summary
Modifier and Type Method Description <M extends ConvexShape<V, A>> Unit
registerVisit(M area)
Registers a visit to the provided area in the agent's volatileMemory. abstract Double
getKnowledgeDegree()
The knowledge degree of the agent concerning the environment. abstract NavigationGraph<V, A, L, R>
getCognitiveMap()
The cognitive map of the agent. abstract Map<ConvexShape<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. -
-
Method Detail
-
registerVisit
<M extends ConvexShape<V, A>> Unit registerVisit(M area)
Registers a visit to the provided area in the agent's volatileMemory.
-
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 node 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<ConvexShape<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 ConvexShapes, as in NavigationGraphs.
-
-
-
-