Explore
open class Explore<T, L : Euclidean2DConvexShape, R>(val action: NavigationAction2D<T, L, R, ConvexPolygon, Euclidean2DPassage>, knownImpasseWeight: Double = DEFAULT_IMPASSE_WEIGHT) : NavigationStrategy<T, Euclidean2DPosition, Euclidean2DTransformation, L, R, ConvexPolygon, Euclidean2DPassage> (source)
A NavigationStrategy allowing to explore the environment. In order to choose which direction to take, a weighting system is used: every time the pedestrian enters a new room all the visible doors are weighted, the one with minimum weight is then crossed. The weighting system used here is derived from the one by Andresen et al., see weight.
Type Parameters
T
the concentration type.
L
the landmark shape type used by the pedestrian's cognitive map.
R
the relation/edge type used by the pedestrian's cognitive map.
Inheritors
Constructors
Link copied to clipboard
constructor(action: NavigationAction2D<T, L, R, ConvexPolygon, Euclidean2DPassage>, knownImpasseWeight: Double = DEFAULT_IMPASSE_WEIGHT)
Properties
Link copied to clipboard
the navigation action driving this strategy.
Link copied to clipboard
open val orientingCapability: OrientingProperty<T, Euclidean2DPosition, Euclidean2DTransformation, L, ConvexPolygon, Euclidean2DPassage>
The node's orienting capability.
Functions
Link copied to clipboard
Called whenever the node enters a new room.
Link copied to clipboard
open fun inUnexpectedNewRoom(previousRoom: ConvexPolygon, expectedNewRoom: ConvexPolygon, actualNewRoom: ConvexPolygon)
Called when the node ends up in an unexpected room while moving. By default, unexpected rooms are treated the same as expected ones.