- Type Parameters:
E
- the graph edge type
- All Superinterfaces:
Collection<E>
,Iterable<E>
,Set<E>
- All Known Implementing Classes:
SpannerAlgorithm.SpannerImpl
- Enclosing interface:
- SpannerAlgorithm<E>
A graph spanner.
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Method Details
-
getWeight
double getWeight()Returns the weight of the graph spanner.- Returns:
- weight of the graph spanner
-