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