Interface EdgeWeights<E>

  • Type Parameters:
    E - edge class
    All Known Implementing Classes:
    PropertyEdgeWeights

    public interface EdgeWeights<E>
    Edge weights concepts. Allows to associate a fractional (floating-point) weight with the edges in a graph.
    • Method Detail

      • getEdgeWeight

        float getEdgeWeight​(E edge)
        Retrieves the weight of an edge.
        Parameters:
        edge - the edge
        Returns:
        the weight of the given edge