Minimum edge graph spanner calculator with a stretch bound

Your numbers

Zero-based labels 0 through n−1, including isolated vertices.
One row: u v length.
At least 1. Every retained pair distance is compared with the original shortest distance.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

QuickCalculators · Full calculator and methodology ↗