Adaptive Binary Search Tree for Integers Sets with Few Holes
DOI:
https://doi.org/10.37420/j.eeer.2024.002Keywords:
self-balancing binary search tree, adaptive data structure, compact representationAbstract
We present the Adaptive Compact Tree (AC-Tree), a data structure similar to a self-balancing binary search tree (BST) that improves storage and operations for sets of integers with few “holes”. AC-Trees can be implemented on top of any classic BST (e.g. AVL trees [3]), holding discontiguous intervals at each node to obtain a compact representation only requiring O(k) storage and supporting efficient O(log k) operations, with k the number of intervals. These properties can improve the performances of applications, like Constraint Programming (CP) solvers, that incrementally remove values and intervals on domains initially consisting of one large interval. First experiments show that AC-Trees outperform classic self-balancing BSTs in most cases and improve CP solvers performances for problems with large domains.
Downloads
Published
How to Cite
Issue
Section
Categories
License
Copyright (c) 2024 Electrical & Electronic Engineering Research

This work is licensed under a Creative Commons Attribution 4.0 International License.
Creative Commons Attribution International License (CC BY 4.0). (http://creativecommons.org/licenses/by/4.0/)