Class UserControlledHintSearcher

  • All Implemented Interfaces:
    Searcher<Hint>

    public class UserControlledHintSearcher
    extends java.lang.Object
    implements Searcher<Hint>
    This is a type of Searcher, which is controlled by the user.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(org.locationtech.jts.geom.Point startPosition)
      SearchPath move()
      Use this to perform a initial move, without a hint given.
      SearchPath move​(Hint hint)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserControlledHintSearcher

        public UserControlledHintSearcher()
    • Method Detail

      • init

        public void init​(org.locationtech.jts.geom.Point startPosition)
        Specified by:
        init in interface Searcher<Hint>
        Parameters:
        startPosition - the Searcher starting position, he will initialized on.
      • move

        public SearchPath move()
        Description copied from interface: Searcher
        Use this to perform a initial move, without a hint given. This is for the case, the searcher starts. (as he does normally)
        Specified by:
        move in interface Searcher<Hint>
        Returns:
        A SearchPath to the point, the user gave.