org.geotools.graph.traverse.standard
Interface DijkstraIterator.EdgeWeighter

Enclosing interface:
DijkstraIterator

public static interface DijkstraIterator.EdgeWeighter

Supplies a weight for each edge in the graph to be used by the iteration when calculating node costs.

Author:
Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net

Method Summary
 double getWeight(Edge e)
          Returns the weight for the associated edge.
 

Method Detail

getWeight

public double getWeight(Edge e)
Returns the weight for the associated edge.

Parameters:
e - The edge whose weight to return.
Returns:
The weight of the edge.


Copyright © GeoTools. All Rights Reserved.