Functions for computing sparsifiers of graphs.
spanner(G, stretch[, weight, seed])
spanner
Returns a spanner of the given graph with the given stretch.