Interface SpannerAlgorithm.Spanner<E>

  • Type Parameters:
    E - the graph edge type
    All Superinterfaces:
    java.util.Collection<E>, java.lang.Iterable<E>, java.util.Set<E>
    All Known Implementing Classes:
    SpannerAlgorithm.SpannerImpl
    Enclosing interface:
    SpannerAlgorithm<E>

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getWeight()
      Returns the weight of the graph spanner.
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
    • Method Detail

      • getWeight

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