Class Pursue

  • All Implemented Interfaces:
    it.unibo.alchemist.model.cognitive.NavigationStrategy

    
    public class Pursue<T extends Object, L extends ConvexShape<Euclidean2DPosition, Euclidean2DTransformation>, R extends Object>
    extends Explore<T, L, R>
                        

    A NavigationStrategy allowing to pursue a known (static) destination without knowing any path leading there, this is also known as path searching. In this context, knowing a destination means knowing its position, which, in turn, means knowing two things:

    • the direction that connects the destination and the current position as the crow flies,

    • an estimation of the distance between the destination and the current position. In order to reach the destination without a route to follow, the weighting system used in Explore is extended so as to take into account the (estimated) suitability of each door to reach the provided destination, see suitabilityFactor.