inpro.pitch.util
Class ShortestPath.Node

java.lang.Object
  extended by inpro.pitch.util.ShortestPath.Node
All Implemented Interfaces:
java.lang.Comparable<ShortestPath.Node>
Enclosing class:
ShortestPath<NodeType>

private class ShortestPath.Node
extends java.lang.Object
implements java.lang.Comparable<ShortestPath.Node>


Field Summary
 double distance
           
 NodeType payload
           
 ShortestPath.Node previous
           
 
Constructor Summary
ShortestPath.Node(NodeType payload)
           
 
Method Summary
 int compareTo(ShortestPath.Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

previous

public ShortestPath.Node previous

distance

public double distance

payload

public NodeType payload
Constructor Detail

ShortestPath.Node

public ShortestPath.Node(NodeType payload)
Method Detail

compareTo

public int compareTo(ShortestPath.Node node)
Specified by:
compareTo in interface java.lang.Comparable<ShortestPath.Node>