Space-efficient plane-sweep algorithms

From MaRDI portal



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 n items and that the available workspace is Theta(s) bits, where lgnleqsleqncdotlgn. 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 n points that runs in O(n2/s+ncdotlgs) time. We also give a simple algorithm to enumerate the intersections of n line segments that runs in O((n2/s2/3)cdotlgs+k) time, where k is the number of intersections. The counting version can be solved in O((n2/s2/3)cdotlgs)~time. When the segments are axis-parallel, we give an O((n2/s)cdotlg4/3s+n4/3cdotlg1/3n)-time algorithm for counting the intersections, and an algorithm for enumerating the intersections that runs in O((n2/s)cdotlgscdotlglgs+ncdotlgs+k) time, where k is the number of intersections. We finally present an algorithm that runs in O((n2/s+ncdotlgs)cdotsqrt(n/s)cdotlgn) time to calculate Klee's measure of axis-parallel rectangles.











This page was built for publication: Space-efficient plane-sweep algorithms

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4636513)