E - the graph edge typepublic static class MatchingAlgorithm.MatchingImpl<E> extends Object implements MatchingAlgorithm.Matching<E>, Serializable
| Constructor and Description |
|---|
MatchingImpl(Set<E> edges,
double weight)
Construct a new instance
|
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
getEdges()
Get the edges of the matching.
|
double |
getWeight()
Returns the weight of the matching.
|
String |
toString() |
public double getWeight()
getWeight in interface MatchingAlgorithm.Matching<E>public Set<E> getEdges()
getEdges in interface MatchingAlgorithm.Matching<E>Copyright © 2017. All rights reserved.