protected static class DijkstraIterator.DijkstraNode extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
DijkstraNode(Node node,
double cost)
Constructs a new Dijsktra node.
|
public Node node
public double cost
public DijkstraIterator.DijkstraNode parent
public DijkstraNode(Node node, double cost)
node
- Underling node in graph being iterated over.cost
- Initial cost of node.Copyright © 1996–2019 Geotools. All rights reserved.