Class PropertyEdgeWeights<E>

    • Constructor Detail

      • PropertyEdgeWeights

        public PropertyEdgeWeights​(UniversalGraph<?,​E,​?,​? extends Number> graph)
    • Method Detail

      • getEdgeWeight

        public float getEdgeWeight​(E edge)
        Description copied from interface: EdgeWeights
        Retrieves the weight of an edge.
        Specified by:
        getEdgeWeight in interface EdgeWeights<E>
        Parameters:
        edge - the edge
        Returns:
        the weight of the given edge