V
- the vertex typepublic static interface MinimumVertexCoverAlgorithm.VertexCover<V> extends Iterable<V>
Modifier and Type | Method and Description |
---|---|
Set<V> |
getVertices()
Set of vertices constituting the vertex cover
|
double |
getWeight()
Returns the weight of the vertex cover.
|
default Iterator<V> |
iterator()
Returns an iterator over the vertices in the cover.
|
forEach, spliterator
double getWeight()
Set<V> getVertices()
Copyright © 2017. All rights reserved.