Skip to main navigation Skip to search Skip to main content

A Dynamic Piecewise-Linear Geometric Index with Worst-Case Guarantees.

  • Technical University of Denmark

Research output: Conference Article in Proceeding or Book/Report chapterArticle in proceedingsResearchpeer-review

Abstract

Indexing data is a fundamental problem in computer science. The input is a set S of n distinct integers from a universe U. Indexing queries take a value q ∈ U and return the membership, predecessor or rank of q in S. A range query takes two values q, r ∈ U and returns the set S ∩[q, r]. Recently, various papers study a special case where the the input data behaves in an approximately piece-wise linear way. Given the sorted (rank,value) pairs, and given some constant ε, one wants to maintain a small number of axis-disjoint line-segments such that, for each rank, the value is within ±ε of the corresponding line-segment. Ferragina and Vinciguerra (VLDB 2020) observe that this geometric problem is useful for solving indexing problems, particularly when the number of line-segments is small compared to the size of the dataset. We study the dynamic version of this geometric problem. In the dynamic setting, inserting or deleting just one data point may cause up to three line-segments to be merged, or one line-segment to be split at most three-way. To determine and compute this, we use techniques from dynamic maintenance of convex hulls, and provide new algorithms with worst-case guarantees, including an O(log n) algorithm to compute a separating line between two non-intersecting convex hulls – an operation previously missing from the literature. We then use our fully-dynamic geometry-based subroutine in an indexing data structure, combining it with a natural hashing technique. The resulting indexing data structure has theoretically efficient worst-case guarantees in expectation. We compare its practical performance to the solution of Ferragina and Vinciguerra, which was shown to perform better in certain structured settings [Sun, Zhou, Li VLDB 2023]. Our empirical analysis shows that our solution supports more efficient range queries in the special case where the update sequence contains many deletions.
Original languageEnglish
Title of host publication33rd Annual European Symposium on Algorithms : ESA 2025, September 15–17, 2025, Warsaw, Poland
EditorsAnne Benoit, Haim Kaplan, Sebastian Wild, Grzegorz Herman
Number of pages19
PublisherSchloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH
Publication date2025
Pages64:1-64:18
Article number64
ISBN (Print)978-3-95977-395-9
DOIs
Publication statusPublished - 2025
EventEuropean Symposium on Algorithms - Poland, Warsaw, Poland
Duration: 15 Sept 202517 Sept 2025
Conference number: 33
https://algo-conference.org/2025/esa/
https://drops.dagstuhl.de/entities/volume/LIPIcs-volume-351

Conference

ConferenceEuropean Symposium on Algorithms
Number33
LocationPoland
Country/TerritoryPoland
CityWarsaw
Period15/09/202517/09/2025
Internet address
SeriesLeibniz International Proceedings in Informatics
ISSN1868-8969

Fingerprint

Dive into the research topics of 'A Dynamic Piecewise-Linear Geometric Index with Worst-Case Guarantees.'. Together they form a unique fingerprint.

Cite this