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.