Package org.jgrapht.alg.interfaces
Interface MatchingAlgorithm.Matching<E>
-
- Type Parameters:
E
- the graph edge type
- All Known Implementing Classes:
MatchingAlgorithm.MatchingImpl
- Enclosing interface:
- MatchingAlgorithm<V,E>
public static interface MatchingAlgorithm.Matching<E>
A graph matching.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<E>
getEdges()
Get the edges of the matching.double
getWeight()
Returns the weight of the matching.
-
-
-
Method Detail
-
getWeight
double getWeight()
Returns the weight of the matching.- Returns:
- the weight of the matching
-
getEdges
java.util.Set<E> getEdges()
Get the edges of the matching.- Returns:
- the edges of the matching
-
-