E - the graph edge typepublic static class SpannerAlgorithm.SpannerImpl<E> extends WeightedUnmodifiableSet<E> implements SpannerAlgorithm.Spanner<E>, java.io.Serializable
backingSet, weight| Constructor and Description |
|---|
SpannerImpl(java.util.Set<E> edges)
Construct a new spanner
|
SpannerImpl(java.util.Set<E> edges,
double weight)
Construct a new spanner
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
add, addAll, clear, contains, containsAll, equals, getWeight, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetWeightpublic SpannerImpl(java.util.Set<E> edges)
edges - the edgespublic SpannerImpl(java.util.Set<E> edges, double weight)
edges - the edgesweight - the weightpublic java.lang.String toString()
toString in class java.util.AbstractCollection<E>Copyright © 2019. All Rights Reserved.