Proceedingsbeitrag
Zitieren …

Zipping Segment Trees

Lukas Barth 1 und Dorothea Wagner 1
1 Karlsruher Institut für Technologie (KIT)
DOI: 10.5445/IR/1000128473
Verlagsausgabe veröffentlicht am 13.01.2021
CC BY 3.0
Abstract

Stabbing queries in sets of intervals are usually answered using segment trees. A dynamic variant of segment trees has been presented by van Kreveld and Overmars, which uses red-black trees to do rebalancing operations. This paper presents zipping segment trees - dynamic segment trees based on zip trees, which were recently introduced by Tarjan et al. To facilitate zipping segment trees, we show how to uphold certain segment tree properties during the operations of a zip tree. We present an in-depth experimental evaluation and comparison of dynamic segment trees based on red-black trees, weight-balanced trees and several variants of the novel zipping segment trees. Our results indicate that zipping segment trees perform better than rotation-based alternatives.