Package algs

Interface Dijkstra.EdgeWeight

Enclosing class:
Dijkstra

public static interface Dijkstra.EdgeWeight
Functional interface for edge weights.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Get the weight for edge e.
  • Method Details

    • weight

      double weight(Edge e)
      Get the weight for edge e.
      Parameters:
      e - edge to get the weight for
      Returns:
      weight for edge e