Interface SpanningTreeAlgorithm.SpanningTree<E>
- Type Parameters:
E- the graph edge type
- All Superinterfaces:
Iterable<E>
- All Known Subinterfaces:
CapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTree<V,E>
- All Known Implementing Classes:
CapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTreeImpl, SpanningTreeAlgorithm.SpanningTreeImpl
- Enclosing interface:
SpanningTreeAlgorithm<E>
A spanning tree.
-
Method Summary
Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getWeight
double getWeight()Returns the weight of the spanning tree.- Returns:
- weight of the spanning tree
-
getEdges
-
iterator
-