Class ReachKnownDestination
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.cognitive.NavigationStrategy
public class ReachKnownDestination<T extends Object, L extends ConvexShape<Euclidean2DPosition, Euclidean2DTransformation>, R extends Object> extends FollowRoute<T, L, R>
A NavigationStrategy allowing to reach a known (static) destination (see Pursue). The client can specify a list of known destinations, the pedestrian will try to reach the closest one for which a valid path leading there is known. The difference between this behavior and Pursue is that the latter assumes no route leading to the destination is known, whereas this behavior tries to exploit the pedestrian's cognitive map to obtain a route to follow.
-
-
Field Summary
Fields Modifier and Type Field Description private Euclidean2DPosition
destination
private final NavigationAction<T, Euclidean2DPosition, Euclidean2DTransformation, L, R, ConvexPolygon, Euclidean2DPassage>
action
private final OrientingProperty<T, Euclidean2DPosition, Euclidean2DTransformation, L, ConvexPolygon, Euclidean2DPassage>
orientingCapability
-
Constructor Summary
Constructors Constructor Description ReachKnownDestination(NavigationAction<T, Euclidean2DPosition, Euclidean2DTransformation, L, R, ConvexPolygon, Euclidean2DPassage> action, List<Euclidean2DPosition> destinations)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.cognitive.navigation.DynamicallyPursue
setDestination, setDestination
-
Methods inherited from class it.unibo.alchemist.model.cognitive.navigation.Explore
getAction
-
Methods inherited from class it.unibo.alchemist.model.cognitive.NavigationStrategy
getOrientingCapability
-
Methods inherited from class it.unibo.alchemist.model.cognitive.navigation.FollowRoute
inNewRoom, inUnexpectedNewRoom
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ReachKnownDestination
ReachKnownDestination(NavigationAction<T, Euclidean2DPosition, Euclidean2DTransformation, L, R, ConvexPolygon, Euclidean2DPassage> action, List<Euclidean2DPosition> destinations)
-
-
-
-