Engineering an algorithm for constructing low-stretch geometric graphs with near-greedy average-degrees

05/18/2023
by   FNU Shariful, et al.
0

We design and engineer Fast-Sparse-Spanner, a simple and practical (fast and memory-efficient) algorithm for constructing sparse low stretch-factor geometric graphs on large pointsets in the plane. To our knowledge, this is the first practical algorithm to construct fast low stretch-factor graphs on large pointsets with average-degrees (hence, the number of edges) competitive with that of greedy-spanners, the sparsest known class of Euclidean geometric spanners. To evaluate our implementation in terms of computation speed, memory usage, and quality of output, we performed extensive experiments with synthetic and real-world pointsets, and by comparing it to our closest competitor Bucketing, the fastest known greedy-spanner algorithm for pointsets in the plane, devised by Alewijnse et al. (Algorithmica, 2017). We always found that Fast-Sparse-Spanner generated near-greedy t-spanners while being fast and memory-efficient. Our experiment with constructing a 1.1-spanner on a large synthetic pointset with 128K points uniformly distributed within a square shows more than a 41-fold speedup with roughly a third of the memory usage of that of Bucketing, but with only a 3 graph. In terms of diameter, the graphs generated by Fast-Sparse-Spanner beat greedy-spanners in most cases (have substantially lower diameter) while maintaining near-greedy average-degree. As a byproduct of our research, we design and engineer Fast-Stretch-Factor, a practical parallelizable algorithm that can measure the stretch-factor of any graph generated by Fast-Sparse-Spanner. Our experiments show that it is much faster than the naive Dijkstra-based stretch-factor measurement algorithm.

READ FULL TEXT
research
08/29/2023

An Efficient Construction of Yao-Graph in Data-Distributed Settings

A sparse graph that preserves an approximation of the shortest paths bet...
research
05/06/2022

Bounded-degree plane geometric spanners in practice

The construction of bounded-degree plane geometric spanners has been a f...
research
02/14/2020

On the Edge Crossings of the Greedy Spanner

t-spanners are used to approximate the pairwise distances between a set ...
research
08/26/2018

Towards Tight Approximation Bounds for Graph Diameter and Eccentricities

Among the most important graph parameters is the Diameter, the largest d...
research
01/03/2023

Provably Fast and Space-Efficient Parallel Biconnectivity

Biconnectivity is one of the most fundamental graph problems. The canoni...
research
02/26/2018

Representations of Sparse Distributed Networks: A Locality-Sensitive Approach

In 1999, Brodal and Fagerberg (BF) gave an algorithm for maintaining a l...
research
05/28/2020

Learning How To Learn Within An LSM-based Key-Value Store

We introduce BOURBON, a log-structured merge (LSM) tree that utilizes ma...

Please sign up or login with your details

Forgot password? Click here to reset