Abstract
Suppose we have a set of n axis-aligned rectangular boxes in d-space, {B 1, B 2, …, B n }, where each box B i is active (or present) with an independent probability p i . We wish to compute the expected volume occupied by the union of all the active boxes. Our main result is a data structure for maintaining the expected volume over a dynamic family of such probabilistic boxes at an amortized cost of O(n (d − 1)/2logn) time per insert or delete. The core problem turns out to be one-dimensional: we present a new data structure called an anonymous segment tree, which allows us to compute the expected length covered by a set of probabilistic segments in logarithmic time per update. Building on this foundation, we then generalize the problem to d dimensions by combining it with the ideas of Overmars and Yap [13]. Surprisingly, while the expected value of the volume can be efficiently maintained, we show that the tail bounds, or the probability distribution, of the volume are intractable—specifically, it is NP-hard to compute the probability that the volume of the union exceeds a given value V even when the dimension is d = 1.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Agarwal, P.K.: An improved algorithm for computing the volume of the union of cubes. In: Proc. of 26th Symp. on Computational Geometry, pp. 230–239 (2010)
Agarwal, P.K., Kaplan, H., Sharir, M.: Computing the volume of the union of cubes. In: Proc. of 23rd Symp. on Computational Geometry, pp. 294–301 (2007)
Bentley, J.L.: Solutions to Klee’s rectangle problems. Dept. of Comp. Sci., CMU, Pittsburgh PA (1977) (unpublished manuscript)
van den Bergen, G., Kaldewaij, A., Dielissen, V.J.: Maintenance of the union of intervals on a line revisited. Computing Science Reports. Eindhoven University of Technology (1998)
Bringmann, K.: Klee’s measure problem on fat boxes in time O(n (d + 2)/3). In: Proc. of 26th Symp. on Computational Geometry, pp. 222–229 (2010)
CGAL, Computational Geometry Algorithms Library, http://www.cgal.org
Chan, T.M.: A (slightly) faster algorithm for Klee’s measure problem. Computational Geometry 43(3), 243–250 (2010)
Cheng, S.W., Janardan, R.: Efficient maintenance of the union intervals on a line, with applications. In: Proc. of ACM Symp. on Discrete Algorithms, pp. 74–83 (1990)
Garey, M., Johnson, D.: Computers and Intractability: A Guide to the Theory of NP-completeness (1979)
Gonnet, G.H., Munro, J.I., Wood, D.: Direct dynamic structures for some line segment problems. Computer Vision, Graphics, and Image Processing 23(2), 178–186 (1983)
Klee, V.: Can the measure of ∪ [a i ,b i ] be computed in less than \({O}(n \lg n)\) steps? American Mathematical Monthly, 284–285 (1977)
van Leeuwen, J., Wood, D.: The measure problem for rectangular ranges in d-space. Journal of Algorithms 2(3), 282–300 (1981)
Overmars, M.H., Yap, C.-K.: New upper bounds in Klee’s measure problem. SIAM J. Comput. 20(6), 1034–1045 (1991)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Yıldız, H., Foschini, L., Hershberger, J., Suri, S. (2011). The Union of Probabilistic Boxes: Maintaining the Volume. In: Demetrescu, C., Halldórsson, M.M. (eds) Algorithms – ESA 2011. ESA 2011. Lecture Notes in Computer Science, vol 6942. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-23719-5_50
Download citation
DOI: https://doi.org/10.1007/978-3-642-23719-5_50
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-23718-8
Online ISBN: 978-3-642-23719-5
eBook Packages: Computer ScienceComputer Science (R0)