Interface DijkstraIterator.EdgeWeighter

  • Enclosing class:
    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 Detail

      • getWeight

        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.