E - the graph edge typepublic static interface SpanningTreeAlgorithm.SpanningTree<E>
extends java.lang.Iterable<E>
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<E> |
getEdges()
Set of edges of the spanning tree.
|
double |
getWeight()
Returns the weight of the spanning tree.
|
default java.util.Iterator<E> |
iterator()
Returns an iterator over the edges in the spanning tree.
|
double getWeight()
java.util.Set<E> getEdges()
Copyright © 2019. All Rights Reserved.