OrientingAgent

An agent capable of orienting itself inside an environment.

Parameters

V

the Vector type for the space this agent is inside.

A

the transformations supported by the shapes in this space.

L

the type of landmarks. See cognitiveMap.

R

the type of edges of the cognitiveMap, representing the Relations between landmarks.

Properties

Link copied to clipboard
abstract val cognitiveMap: NavigationGraph<V, A, L, R>

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.

Link copied to clipboard
abstract val knowledgeDegree: Double

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).

Link copied to clipboard

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.

Functions

Link copied to clipboard
open fun <M : ConvexShape<V, A>> registerVisit(area: M)

Registers a visit to the provided area in the agent's volatileMemory.