Class DijkstraIterator.DijkstraNode
Object
DijkstraNode
- Enclosing class:
- DijkstraIterator
Internal data structure used to track node costs, and parent nodes.
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
cost associated with the node *underlying graph node *last node to update the cost the the underlying graph node * -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
node
underlying graph node * -
cost
public double costcost associated with the node * -
parent
last node to update the cost the the underlying graph node *
-
-
Constructor Details
-
DijkstraNode
Constructs a new Dijkstra node.- Parameters:
node
- Underling node in graph being iterated over.cost
- Initial cost of node.
-