V - the graph vertex typeE - the graph edge typeEdmondsBlossomShrinking instead.@Deprecated public class EdmondsBlossomShrinking<V,E> extends Object implements MatchingAlgorithm<V,E>
MatchingAlgorithm.Matching<E>, MatchingAlgorithm.MatchingImpl<E>DEFAULT_EPSILON| Constructor and Description |
|---|
EdmondsBlossomShrinking(UndirectedGraph<V,E> G)
Deprecated.
Construct an instance of the Edmonds blossom shrinking algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
MatchingAlgorithm.Matching<E> |
computeMatching()
Deprecated.
Compute a matching for a given graph.
|
Set<E> |
getMatching()
Deprecated.
Returns set of edges making up the matching
|
public EdmondsBlossomShrinking(UndirectedGraph<V,E> G)
G - the input graphpublic Set<E> getMatching()
getMatching in interface MatchingAlgorithm<V,E>public MatchingAlgorithm.Matching<E> computeMatching()
computeMatching in interface MatchingAlgorithm<V,E>Copyright © 2017. All rights reserved.