HOME

TheInfoList



OR:

In computational geometry, Klee's measure problem is the problem of determining how efficiently the measure of a union of (
multidimensional In physics and mathematics, the dimension of a Space (mathematics), mathematical space (or Mathematical object, object) is informally defined as the minimum number of coordinates needed to specify any Point (geometry), point within it. Thus, a ...
) rectangular ranges can be computed. Here, a ''d''-dimensional rectangular range is defined to be a
Cartesian product In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is A\times B = \. A table c ...
of ''d'' intervals of
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, which is a
subset In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
of R''d''. The problem is named after
Victor Klee Victor LaRue Klee, Jr. (September 18, 1925 – August 17, 2007) was a mathematician specialising in convex sets, functional analysis, analysis of algorithms, optimization, and combinatorics. He spent almost his entire career at the University of ...
, who gave an algorithm for computing the length of a union of intervals (the case ''d'' = 1) which was later shown to be optimally efficient in the sense of
computational complexity theory In theoretical computer science and mathematics, computational complexity theory focuses on classifying computational problems according to their resource usage, and explores the relationships between these classifications. A computational problem ...
. The computational complexity of computing the area of a union of 2-dimensional rectangular ranges is now also known, but the case ''d'' ≥ 3 remains an
open problem In science and mathematics, an open problem or an open question is a known problem which can be accurately stated, and which is assumed to have an objective and verifiable solution, but which has not yet been solved (i.e., no solution for it is kno ...
.


History and algorithms

In 1977,
Victor Klee Victor LaRue Klee, Jr. (September 18, 1925 – August 17, 2007) was a mathematician specialising in convex sets, functional analysis, analysis of algorithms, optimization, and combinatorics. He spent almost his entire career at the University of ...
considered the following problem: given a collection of ''n'' intervals in the
real line A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin (geometry), origin point representing the number zero and evenly spaced mark ...
, compute the length of their union. He then presented an
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
to solve this problem with
computational complexity In computer science, the computational complexity or simply complexity of an algorithm is the amount of resources required to run it. Particular focus is given to computation time (generally measured by the number of needed elementary operations ...
(or "running time") O(n \log n) — see
Big O notation Big ''O'' notation is a mathematical notation that describes the asymptotic analysis, limiting behavior of a function (mathematics), function when the Argument of a function, argument tends towards a particular value or infinity. Big O is a memb ...
for the meaning of this statement. This algorithm, based on
sorting Sorting refers to ordering data in an increasing or decreasing manner according to some linear relationship among the data items. # ordering: arranging items in a sequence ordered by some criterion; # categorizing: grouping items with similar p ...
the intervals, was later shown by
Michael Fredman Michael Lawrence Fredman is an emeritus professor at the Computer Science Department at Rutgers University, United States. He earned his Ph.D. from Stanford University in 1972 under the supervision of Donald Knuth. He was a member of the mathemat ...
and Bruce Weide (1978) to be optimal. Later in 1977, Jon Bentley considered a 2-dimensional analogue of this problem: given a collection of ''n''
rectangle In Euclidean geometry, Euclidean plane geometry, a rectangle is a Rectilinear polygon, rectilinear convex polygon or a quadrilateral with four right angles. It can also be defined as: an equiangular quadrilateral, since equiangular means that a ...
s, find the
area Area is the measure of a region's size on a surface. The area of a plane region or ''plane area'' refers to the area of a shape or planar lamina, while '' surface area'' refers to the area of an open surface or the boundary of a three-di ...
of their union. He also obtained a complexity O(n \log n) algorithm, now known as Bentley's algorithm, based on reducing the problem to ''n'' ''1''-dimensional problems: this is done by sweeping a vertical line across the area. Using this method, the area of the union can be computed without explicitly constructing the union itself. Bentley's algorithm is now also known to be optimal (in the 2-dimensional case), and is used in
computer graphics Computer graphics deals with generating images and art with the aid of computers. Computer graphics is a core technology in digital photography, film, video games, digital art, cell phone and computer displays, and many specialized applications. ...
, among other areas. These two problems are the 1- and 2-dimensional cases of a more general question: given a collection of ''n'' ''d''-dimensional rectangular ranges, compute the measure of their union. This general problem is Klee's measure problem. When generalized to the ''d''-dimensional case, Bentley's algorithm has a running time of O(n^ \log n). This turns out ''not'' to be optimal, because it only decomposes the ''d''-dimensional problem into ''n'' (''d-1'')-dimensional problems, and does not further decompose those subproblems. In 1981,
Jan van Leeuwen Jan van Leeuwen (born 17 December 1946 in Waddinxveen) is a Dutch computer scientist and emeritus professor of computer science at the Department of Information and Computing Sciences at Utrecht University.
and Derek Wood improved the running time of this algorithm to O(n^) for ''d'' ≥ 3 by using dynamic
quadtree A quadtree is a tree data structure in which each internal node has exactly four children. Quadtrees are the two-dimensional analog of octrees and are most often used to partition a two-dimensional space by recursively subdividing it into four ...
s. In 1988,
Mark Overmars Markus Hendrik "Mark" Overmars (; born 29 September 1958) is a Dutch computer scientist and teacher of game programming known for his game development application GameMaker. GameMaker allows users to create computer games using a drag-and-drop ...
and Chee Yap proposed an O(n^ \log n) algorithm for ''d'' ≥ 3. Their algorithm uses a particular
data structure In computer science, a data structure is a data organization and storage format that is usually chosen for Efficiency, efficient Data access, access to data. More precisely, a data structure is a collection of data values, the relationships amo ...
similar to a kd-tree to decompose the problem into 2-dimensional components and aggregate those components efficiently; the 2-dimensional problems themselves are solved efficiently using a trellis structure. Although asymptotically faster than Bentley's algorithm, its data structures use significantly more space, so it is only used in problems where either ''n'' or ''d'' is large. In 1998, Bogdan Chlebus proposed a simpler algorithm with the same asymptotic running time for the common special cases where ''d'' is 3 or 4. In 2013, Timothy M. Chan developed a simpler algorithm that avoids the need for dynamic data structures and eliminates the logarithmic factor, lowering the best known running time for d ≥ 3 to O(n^).


Known bounds

The only known
lower bound In mathematics, particularly in order theory, an upper bound or majorant of a subset of some preordered set is an element of that is every element of . Dually, a lower bound or minorant of is defined to be an element of that is less th ...
for any ''d'' is \Omega(n \log n), and optimal algorithms with this running time are known for ''d''=1 and ''d''=2. The Chan algorithm provides an upper bound of O(n^) for ''d'' ≥ 3, so for ''d'' ≥ 3, it remains an open question whether faster algorithms are possible, or alternatively whether tighter lower bounds can be proven. In particular, it remains open whether the algorithm's running time must depend on ''d''. In addition, the question of whether there are faster algorithms that can deal with special cases (for example, when the input coordinates are integers within a bounded range) remains open. The 1D Klee's measure problem (union of intervals) can be solved in O(n \log p) where ''p'' denotes the number of piercing points required to stab all intervals (the union of intervals pierced by a common point can be calculated in linear time by computing the extrema). Parameter ''p'' is an adaptive parameter that depends on the input configuration, and the piercing algorithm"Fast stabbing of boxes in high dimensions", F. Nielsen, Theoretical Computer Science Volume 246, Issues 1–2, 6 September 2000, Pages 53-72
pdf
/ref> yields an
adaptive algorithm An adaptive algorithm is an algorithm that changes its behavior at the time it is run, based on information available and on ''a priori'' defined reward mechanism (or criterion). Such information could be the story of recently received data, infor ...
for Klee's measure problem.


See also

* Convex volume approximation, an efficient algorithm for convex bodies


References and further reading


Important papers

*. *. *. *. *. *. *.


Secondary literature

* Franco P. Preparata and Michael I. Shamos (1985). ''Computational Geometry'' (Springer-Verlag, Berlin).
Klee's Measure Problem
from Professor Jeff Erickson'
list of open problems
in computational geometry. (Accessed November 8, 2005, when the last update was July 31, 1998.)


References

{{Reflist Computational geometry Measure theory Mathematical problems