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> (source)

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

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
open override val knowledgeDegree: Double

The degree of prior knowledge about the environment, in 0.0, 1.0.

Link copied to clipboard
open override val node: Node<T>
Link copied to clipboard
Link copied to clipboard

Volatile memory tracking visited areas paired with the number of visits.

Functions

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>): Orienting2D<T, N>
Link copied to clipboard
open override fun createLandmarkIn(area: N): Ellipse

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
open override fun toString(): String