Package net.automatalib.graph.concept
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getEdgeWeight(E edge)
Retrieves the weight of an edge.
-
-
-
Method Detail
-
getEdgeWeight
float getEdgeWeight(E edge)
Retrieves the weight of an edge.- Parameters:
edge
- the edge- Returns:
- the weight of the given edge
-
-