|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.traverse.standard.DijkstraIterator.DijkstraNode
Internal data structure used to track node costs, and parent nodes.
Field Summary | |
double |
cost
cost associated with the node |
Node |
node
underlying graph node |
DijkstraIterator.DijkstraNode |
parent
last node to update the cost the the underlying graph node |
Constructor Summary | |
DijkstraIterator.DijkstraNode(Node node,
double cost)
Constructs a new Dijsktra node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Node node
public double cost
public DijkstraIterator.DijkstraNode parent
Constructor Detail |
public DijkstraIterator.DijkstraNode(Node node, double cost)
node
- Underling node in graph being iterated over.cost
- Initial cost of node.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |