|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectendrov.util.graphs.GreedyMaximumWeightedMatching<V,E>
public class GreedyMaximumWeightedMatching<V,E>
Calculate the maximum weighted matching i.e. the subset of edges maximizing total weight, such that none of the vertices are connected to more than one other vertex. This is a greedy approximation
| Constructor Summary | |
|---|---|
GreedyMaximumWeightedMatching(org.jgrapht.Graph<V,E> graph)
|
|
| Method Summary | |
|---|---|
java.util.Collection<E> |
getEdges()
Get optimal subset of edges |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GreedyMaximumWeightedMatching(org.jgrapht.Graph<V,E> graph)
| Method Detail |
|---|
public java.util.Collection<E> getEdges()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||