Class PropertyEdgeWeights<E>
- java.lang.Object
-
- net.automatalib.util.graph.concept.PropertyEdgeWeights<E>
-
- All Implemented Interfaces:
EdgeWeights<E>
public class PropertyEdgeWeights<E> extends Object implements EdgeWeights<E>
-
-
Constructor Summary
Constructors Constructor Description PropertyEdgeWeights(UniversalGraph<?,E,?,? extends Number> graph)
-
-
-
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 interfaceEdgeWeights<E>
- Parameters:
edge
- the edge- Returns:
- the weight of the given edge
-
-