Package org.jgrapht.alg.interfaces
Interface SpannerAlgorithm.Spanner<E>
-
- Type Parameters:
E
- the graph edge type
- All Known Implementing Classes:
SpannerAlgorithm.SpannerImpl
- Enclosing interface:
- SpannerAlgorithm<E>
public static interface SpannerAlgorithm.Spanner<E>
A graph spanner.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<E>
getEdges()
Set of edges of the graph spanner.double
getWeight()
Returns the weight of the graph spanner.
-
-
-
Method Detail
-
getWeight
double getWeight()
Returns the weight of the graph spanner.- Returns:
- weight of the graph spanner
-
getEdges
java.util.Set<E> getEdges()
Set of edges of the graph spanner.- Returns:
- edge set of the spanner
-
-