Time-Space Trade-Offs for Computing Euclidean Minimum Spanning Trees

preprint2020arXivOpen access

Abstract

We present time-space trade-offs for computing the Euclidean minimum spanning tree of a set SS of nn point-sites in the plane. More precisely, we assume that SS resides in a random-access memory that can only be read. The edges of the Euclidean minimum spanning tree EMST(S)\text{EMST}(S) have to be reported sequentially, and they cannot be accessed or modified afterwards. There is a parameter s∈{1,…,n}s \in \{1, \dots, n\} so that the algorithm may use O(s)O(s) cells of read-write memory (called the workspace) for its computations. Our goal is to find an algorithm that has the best possible running time for any given ss between 11 and nn. We show how to compute EMST(S)\text{EMST}(S) in O((n3/s2)log⁡s)O\big((n^3/s^2)\log s \big) time with O(s)O(s) cells of workspace, giving a smooth trade-off between the two best known bounds O(n3)O(n^3) for s=1s = 1 and O(nlog⁡n)O(n \log n) for s=ns = n. For this, we run Kruskal's algorithm on the relative neighborhood graph (RNG) of SS. It is a classic fact that the minimum spanning tree of RNG(S)\text{RNG}(S) is exactly EMST(S)\text{EMST}(S). To implement Kruskal's algorithm with O(s)O(s) cells of workspace, we define ss-nets, a compact representation of planar graphs. This allows us to efficiently maintain and update the components of the current minimum spanning forest as the edges are being inserted.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.