Interface DijkstraIterator.NodeWeighter
- Enclosing class:
- DijkstraIterator
public static interface DijkstraIterator.NodeWeighter
Supplies a weight for each pair of adjacent edges.
- Author:
- Sandeep Kumar Jakkaraju sandeepkumar@iitbombay.org
-
Method Summary
-
Method Details
-
getWeight
Returns the weight for a node, with respect to two adjecent edges.- Parameters:
n- The node.e1- First edge.e2- Second edge.- Returns:
- The weight associated with traversing through the node from the first edge to the second.
-