Orienting2D
class Orienting2D<T, N : ConvexPolygon> @JvmOverloads constructor(val environment: Euclidean2DEnvironmentWithGraph<*, T, N, DefaultEdge>, randomGenerator: RandomGenerator, val node: Node<T>, val knowledgeDegree: Double, minSide: Double = 30.0, maxSide: Double = 60.0) : Orienting<T, Euclidean2DPosition, Euclidean2DTransformation, N, Ellipse>
Basic implementation of a node's OrientingProperty in a 2D space.
Constructors
Link copied to clipboard
constructor(environment: Euclidean2DEnvironmentWithGraph<*, T, N, DefaultEdge>, randomGenerator: RandomGenerator, node: Node<T>, knowledgeDegree: Double, minSide: Double = 30.0, maxSide: Double = 60.0)
Properties
Link copied to clipboard
open override val cognitiveMap: NavigationGraph<Euclidean2DPosition, Euclidean2DTransformation, Ellipse, DefaultEdge>
The agent's cognitive map: a NavigationGraph of landmarks and spatial relations.
Link copied to clipboard
The environment in which the node moves.
Link copied to clipboard
The degree of prior knowledge about the environment, in 0.0, 1.0.
Link copied to clipboard
The simulation RandomGenerator.
Link copied to clipboard
open override val volatileMemory: MutableMap<ConvexShape<Euclidean2DPosition, Euclidean2DTransformation>, Int>
Volatile memory tracking visited areas paired with the number of visits.
Functions
Link copied to clipboard
Clones this property to be added on a new node.
Link copied to clipboard
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.
Link copied to clipboard
Registers a visit to the provided area in the volatile memory.
Link copied to clipboard