Class Dijkstra


  • public class Dijkstra
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Dijkstra​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLink​(int n1, int n2, double d)  
      java.util.List<java.lang.Integer> getBestPath()  
      int getSize()  
      • Methods inherited from class java.lang.Object

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

      • Dijkstra

        public Dijkstra​(int size)
    • Method Detail

      • addLink

        public void addLink​(int n1,
                            int n2,
                            double d)
      • getBestPath

        public java.util.List<java.lang.Integer> getBestPath()
      • getSize

        public final int getSize()