openlist.examples
Class WeightedDirectedGraph.Arc

java.lang.Object
  extended by openlist.examples.WeightedDirectedGraph.Arc
Enclosing class:
WeightedDirectedGraph

 class WeightedDirectedGraph.Arc
extends java.lang.Object

Arc represents an arc from a given node to a target nodes, having a specified weight.


Field Summary
(package private)  WeightedDirectedGraph.Node target
           
(package private)  long weight
           
 
Constructor Summary
WeightedDirectedGraph.Arc(WeightedDirectedGraph.Node target, long weight)
          Construct an Arc.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

WeightedDirectedGraph.Node target

weight

long weight
Constructor Detail

WeightedDirectedGraph.Arc

WeightedDirectedGraph.Arc(WeightedDirectedGraph.Node target,
                          long weight)
Construct an Arc.