- Type Parameters:
V- the graph vertex typeE- the graph edge type
- All Known Implementing Classes:
DenseEdmondsMaximumCardinalityMatching,GreedyMaximumCardinalityMatching,GreedyWeightedMatching,HopcroftKarpMaximumCardinalityBipartiteMatching,KolmogorovWeightedMatching,KolmogorovWeightedPerfectMatching,KuhnMunkresMinimalWeightBipartitePerfectMatching,MaximumWeightBipartiteMatching,PathGrowingWeightedMatching,SparseEdmondsMaximumCardinalityMatching
public interface MatchingAlgorithm<V,E>
Allows to derive a matching of
a given graph.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMatchingAlgorithm.Matching<V,E>A graph matching.static classMatchingAlgorithm.MatchingImpl<V,E>A default implementation of the matching interface. -
Field Summary
Fields Modifier and Type Field Description static doubleDEFAULT_EPSILONDefault tolerance used by algorithms comparing floating point values. -
Method Summary
Modifier and Type Method Description MatchingAlgorithm.Matching<V,E>getMatching()Compute a matching for a given graph.
-
Field Details
-
DEFAULT_EPSILON
static final double DEFAULT_EPSILONDefault tolerance used by algorithms comparing floating point values.- See Also:
- Constant Field Values
-
-
Method Details
-
getMatching
MatchingAlgorithm.Matching<V,E> getMatching()Compute a matching for a given graph.- Returns:
- a matching
-