OrientingAgent

An agent capable of orienting itself inside an environment.

Type Parameters

V

the Vector type for the space this agent occupies.

A

the transformation type supported by the shapes in this space.

L

the type of landmarks stored in the cognitive map.

R

the type of edges in the cognitive map, representing relations between landmarks.

Properties

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

The agent's cognitive map: a NavigationGraph of landmarks and spatial relations.

Link copied to clipboard
abstract val knowledgeDegree: Double

The degree of prior knowledge about the environment, in 0.0, 1.0. This value describes the portion of the environment the agent is familiar with before the simulation starts and does not include memory gained during the simulation (see volatileMemory).

Link copied to clipboard

Volatile memory that tracks areas visited since the simulation started. The map pairs each visited area with the number of visits.

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 volatile memory.