Space-Efficient Plane-Sweep Algorithms
Abstract
We introduce space-efficient plane-sweep algorithms for basic planar geometric problems. It is assumed that the input is in a read-only array of items and that the available workspace is bits, where . Three techniques that can be used as general tools in different space-efficient algorithms are introduced and employed within our algorithms. In particular, we give an almost-optimal algorithm for finding the closest pair among a set of points that runs in time. We also give a simple algorithm to enumerate the intersections of line segments that runs in time, where is the number of intersections. The counting version can be solved in ~time. When the segments are axis-parallel, we give an -time algorithm for counting the intersections, and an algorithm for enumerating the intersections that runs in time, where is the number of intersections. We finally present an algorithm that runs in time to calculate Klee's measure of axis-parallel rectangles.
Cite
@article{arxiv.1507.01767,
title = {Space-Efficient Plane-Sweep Algorithms},
author = {Amr Elmasry and Frank Kammer},
journal= {arXiv preprint arXiv:1507.01767},
year = {2016}
}