Simple and Robust Dynamic Two-Dimensional Convex Hull

被引:0
|
作者
Gaede, Emil Toftegaard [1 ]
Li Gortz, Inge [1 ]
van der Hoog, Ivor [1 ]
Krogh, Christoffer [1 ]
机构
[1] Tech Univ Denmark, Lyngby, Denmark
关键词
ALGORITHM;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The convex hull of a data set P is the smallest convex set that contains P. A dynamic data set is one where points are inserted and deleted. In this work, we present a new data structure for convex hull, that allows for efficient dynamic updates, in theory and practice. In a dynamic convex hull implementation, the following traits are desirable: (1) algorithms for efficiently answering queries as to whether a specified point is inside or outside the hull, (2) adhering to geometric robustness, and (3) algorithmic simplicity. Furthermore, a specific but well-motivated type of two-dimensional data is rank-based data. Here, the input is a set of real-valued numbers Y where for any number y is an element of Y its rank is its index in Y 's sorted order. Each value in Y can be mapped to a point (rank, value) to obtain a two-dimensional point set. Note that for a single update, a linear number of (rank, value)-pairs may change; posing a challenge for dynamic algorithms. It is desirable for a dynamic convex hull implementation to also (4) accommodate rank-based data. In this work, we give an efficient, geometrically robust, dynamic convex hull algorithm, that facilitates queries to whether a point is internal. Furthermore, our construction can be used to efficiently update the convex hull of rank-ordered data, when the real-valued point set is subject to insertions and deletions. Our improved solution is based on an algorithmic simplification of the classical convex hull data structure by Overmars and van Leeuwen [STOC'80], combined with new algorithmic insights. Our theoretical guarantees on the update time match those of Overmars and van Leeuwen, namely O(log(2) |P|), while we allow a wider range of functionalities (including rank-based data). Our algorithmic simplification includes simplifying an 11-case check down to a 3-case check that can be written in 20 lines of easily readable C-code. We extend our solution to provide a trade-off between theoretical guarantees and the practical performance of our algorithm. We test and compare our solutions extensively on inputs that were generated randomly or adversarially, including benchmarking datasets from the literature.
引用
收藏
页码:144 / 156
页数:13
相关论文
共 50 条
  • [21] Convex bodies with equiframed two-dimensional sections
    Nico Düvelmeyer
    Archiv der Mathematik, 2007, 88 : 181 - 192
  • [22] On the Two-Dimensional Knapsack Problem for Convex Polygons
    Merino, Arturo
    Wiese, Andreas
    ACM TRANSACTIONS ON ALGORITHMS, 2024, 20 (02)
  • [23] Involuntary automorphisms of two-dimensional convex sets
    Maürer, H
    MONATSHEFTE FUR MATHEMATIK, 1999, 128 (01): : 7 - 21
  • [24] A Robust Preconditioner for Two-dimensional Conservative Space-Fractional Diffusion Equations on Convex Domains
    Xu Chen
    Si-Wen Deng
    Siu-Long Lei
    Journal of Scientific Computing, 2019, 80 : 1033 - 1057
  • [25] A Robust Preconditioner for Two-dimensional Conservative Space-Fractional Diffusion Equations on Convex Domains
    Chen, Xu
    Deng, Si-Wen
    Lei, Siu-Long
    JOURNAL OF SCIENTIFIC COMPUTING, 2019, 80 (02) : 1033 - 1057
  • [26] DESIGN OF ROBUST TWO-DIMENSIONAL POLYNOMIAL BEAMFORMERS AS A CONVEX OPTIMIZATION PROBLEM WITH APPLICATION TO ROBOT AUDITION
    Barfuss, Hendrik
    Bachmann, Markus
    Buerger, Michael
    Schneider, Martin
    Kellermann, Walter
    2017 IEEE WORKSHOP ON APPLICATIONS OF SIGNAL PROCESSING TO AUDIO AND ACOUSTICS (WASPAA), 2017, : 106 - 110
  • [27] TWO-DIMENSIONAL ROBUST SPECTRUM ESTIMATION
    HANSEN, RR
    CHELLAPPA, R
    IEEE TRANSACTIONS ON ACOUSTICS SPEECH AND SIGNAL PROCESSING, 1988, 36 (07): : 1051 - 1066
  • [28] Simple two-dimensional models of alcohols
    Papez, Petra
    Urbic, Tomaz
    PHYSICAL REVIEW E, 2022, 105 (05)
  • [29] A SIMPLE FORMULA FOR TWO-DIMENSIONAL CAPACITANCE
    CETNER, A
    INIEWSKI, K
    JAKUBOWSKI, A
    SOLID-STATE ELECTRONICS, 1988, 31 (05) : 973 - 974
  • [30] FINDING THE CONVEX-HULL OF A SIMPLE POLYGON
    GRAHAM, RL
    YAO, FF
    JOURNAL OF ALGORITHMS, 1983, 4 (04) : 324 - 331