Let [Formula: see text] be the complete Euclidean graph on a set of points embedded in the plane. Given a constant [Formula: see text], a spanning subgraph [Formula: see text] of [Formula: see text] is said to be a [Formula: see text]-spanner, or simply a spanner, if for any pair of nodes [Formula: see text], [Formula: see text] in [Formula: see text] there exists a [Formula: see text]-path in [Formula: see text], i.e., a path between [Formula: see text] and [Formula: see text] whose length is at most [Formula: see text] times their distance in [Formula: see text]. Gap-greedy spanner, proposed by Arya and Smid, is a light weight and bounded degree spanner in which a pair of points [Formula: see text] is guaranteed to have a [Formula: see text]-path, if there exists at least one edge with some special criteria in the spanner. Existing algorithms for computing the gap-greedy spanner determine the existence of such an edge for each pair of points by examining the edges of the spanner, which takes [Formula: see text] time, however in this paper, we have presented a method by which this task can be done in [Formula: see text] time. Using the proposed method and well-separated pair decomposition, we have proposed a linear-space algorithm that can compute the gap-greedy spanner in [Formula: see text] time. How to use the well-separated pair decomposition to compute this spanner was proposed by Bakhshesh and Farshi, however using an example, we have shown that one of the algorithms they have proposed for this purpose is incorrect. We have performed various experiments to measure the duration and amount of memory used by the algorithms for computing this spanner. The results of these experiments showed that the proposed method, without a significant effect on the amount of memory consumed compared to previous algorithms, leads to a significant acceleration in the construction time of this spanner.
Read full abstract