Class Arc

    • Field Detail

      • id

        public int id
      • orig

        public Node orig
      • dest

        public Node dest
      • value

        public int value
      • cost

        public double cost
    • Constructor Detail

      • Arc

        public Arc​(Node orig,
                   Node dest,
                   int value,
                   int id,
                   double cost)
      • Arc

        public Arc​(Node orig,
                   Node dest,
                   int value)
    • Method Detail

      • getWeight

        public double getWeight()
        Overrides:
        getWeight in class org.jgrapht.graph.DefaultWeightedEdge
      • toString

        public String toString()
        Overrides:
        toString in class org.jgrapht.graph.DefaultWeightedEdge