Two Approaches to Building Time-Windowed Geometric Data Structures

AbstractGiven a set of geometric objects each associated with a time value, we wish to determine whether a given property is true for a subset of those objects whose time values fall within a query time window. We call such problems time-windowed decision problems, and they have been the subject of much recent attention, for instance studied by Bokal et al. (in: Proceedings of the 31st International Symposium on Computational Geometry (SoCG), pp 240–254, 2015). In this paper, we present new approaches to this class of problems that are conceptually simpler than Bokal et al. ’s, and also lead to faster algorithms. For instance, we present algorithms for preprocessing for both the time-windowed 2D diameter decision problem and the time-windowed 2D convex hull area decision problem in $$O(n \log n)$$O(nlogn) time, improving Bokal et al. ’s $$O(n \log ^2 n)$$O(nlog2n) and $$O(n \log n \log \log n)$$O(nlognloglogn) solutions respectively. Our first approach is to reduce time-windowed decision problems to a generalized range successor problem, which we solve using a novel way to search range trees. Our other approach is to use dynamic data structures directly, taking advantage of a new observation that the total number of combinatorial changes to a planar convex hull is linear for any FIFO update sequence, in which deletions occur in the same order as insertions. We also apply these approaches to obtain the first $$O(n\, \mathrm{polylog}\, n)$$O(npolylogn) algorithms for the time-windowed 3D diameter decision and 2D orthogonal segment intersection detection problems.

[1]  Leonidas J. Guibas,et al.  Fractional cascading: I. A data structuring technique , 1986, Algorithmica.

[2]  Otfried Cheong Dynamic Maintenance of Geometric Structures Made Easy , 1991, FOCS.

[3]  Kenneth L. Clarkson,et al.  Applications of random sampling in computational geometry, II , 1988, SCG '88.

[4]  Timothy M. Chan Dynamic Geometric Data Structures via Shallow Cuttings , 2019, Discrete & Computational Geometry.

[5]  Subhash Suri,et al.  Applications of a semi-dynamic convex hull algorithm , 1990, BIT.

[6]  G.S. Brodal,et al.  Dynamic planar convex hull , 2002, The 43rd Annual IEEE Symposium on Foundations of Computer Science, 2002. Proceedings..

[7]  Ketan Mulmuley Randomized multidimensional search trees: lazy balancing and dynamic shuffling , 1991, [1991] Proceedings 32nd Annual Symposium of Foundations of Computer Science.

[8]  Franco P. Preparata,et al.  An optimal real-time algorithm for planar convex hulls , 1979, CACM.

[9]  Yufei Tao,et al.  FIFO indexes for decomposable problems , 2011, PODS.

[10]  Timothy M. Chan Persistent predecessor search and orthogonal point location on the word RAM , 2011, SODA '11.

[11]  Timothy M. Chan Dynamic planar convex hull operations in near-logarithmic amortized time , 1999, 40th Annual Symposium on Foundations of Computer Science (Cat. No.99CB37039).

[12]  Micha Sharir,et al.  Off-line Dynamic Maintenance of the Width of a Planar Point Set , 1991, Comput. Geom..

[13]  Gelin Zhou,et al.  Two-dimensional range successor in optimal time and almost linear space , 2016, Inf. Process. Lett..

[14]  Timothy M. Chan,et al.  Optimal Deterministic Algorithms for 2-d and 3-d Shallow Cuttings , 2015, Discrete & Computational Geometry.

[15]  David Eppstein,et al.  Finding All Maximal Subsequences with Hereditary Properties , 2015, SoCG.

[16]  Bernard Chazelle,et al.  On the convex layers of a planar set , 1985, IEEE Trans. Inf. Theory.

[17]  Jirí Matousek,et al.  Dynamic half-space range reporting and its applications , 2005, Algorithmica.

[18]  John L. Smith Tables , 1969, Neuromuscular Disorders.

[19]  David Eppstein Incremental and decremental maintenance of planar width , 1999, SODA '99.

[20]  Timothy M. Chan,et al.  Orthogonal range searching on the RAM, revisited , 2011, SoCG '11.

[21]  Timothy M. Chan A dynamic data structure for 3-D convex hulls and 2-D nearest neighbor queries , 2010, J. ACM.

[22]  Michael T. Goodrich,et al.  Windows into Geometric Events: Data Structures for Time-Windowed Querying of Temporal Point Sets , 2014, CCCG.

[23]  Subhash Suri,et al.  Offline maintenance of planar configurations , 1991, SODA '91.

[24]  Jan van Leeuwen,et al.  Maintenance of Configurations in the Plane , 1981, J. Comput. Syst. Sci..

[25]  Timothy M. Chan A fully dynamic algorithm for planar , 2001, SCG '01.

[26]  Timothy M. Chan A Fully Dynamic Algorithm for Planar Width , 2003, Discret. Comput. Geom..

[27]  Timothy M. Chan,et al.  Two Approaches to Building Time-Windowed Geometric Data Structures , 2016, Algorithmica.

[28]  Leonidas J. Guibas,et al.  Fractional cascading: II. Applications , 1986, Algorithmica.

[29]  Nancy M. Amato,et al.  Parallel algorithms for higher-dimensional convex hulls , 1994, Proceedings 35th Annual Symposium on Foundations of Computer Science.

[30]  Haim Kaplan,et al.  Dynamic Planar Voronoi Diagrams for General Distance Functions and Their Algorithmic Applications , 2016, Discrete & Computational Geometry.

[31]  Timothy M. Chan,et al.  Time-Windowed Closest Pair , 2015, CCCG.

[32]  Michael Ian Shamos,et al.  Computational geometry: an introduction , 1985 .