Package org.jgrapht.alg.interfaces
Interface MatchingAlgorithm<V,E>
-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MatchingAlgorithm.Matching<V,E>getMatching()Compute a matching for a given graph.
-
-
-
Field Detail
-
DEFAULT_EPSILON
static final double DEFAULT_EPSILON
Default tolerance used by algorithms comparing floating point values.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMatching
MatchingAlgorithm.Matching<V,E> getMatching()
Compute a matching for a given graph.- Returns:
- a matching
-
-