Interface SpannerAlgorithm.Spanner<E>

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>

public static interface SpannerAlgorithm.Spanner<E> extends Set<E>
A graph spanner.
  • Method Details

    • getWeight

      double getWeight()
      Returns the weight of the graph spanner.
      Returns:
      weight of the graph spanner