Class ShortestPathTextObserver

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.PrintStream stream  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void notifyDestinationReached​(Node node)
      Notify the observer that the destination has been reached.
      void notifyNodeMarked​(Node node)
      Notify the observer that a node has been marked, i.e. its final value has been set.
      void notifyNodeReached​(Node node)
      Notify the observer that a node has been reached for the first time.
      void notifyOriginProcessed​(Node node)
      Notify the observer that the origin has been processed.
      • Methods inherited from class java.lang.Object

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

      • stream

        private final java.io.PrintStream stream
    • Constructor Detail

      • ShortestPathTextObserver

        public ShortestPathTextObserver​(java.io.PrintStream stream)