Adaptive Binary Search Tree for Integers Sets with Few Holes
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.
Authors
- Nicolas Barnier (ORCID: https://orcid.org/0000-0002-8496-6835)
- Ruixin Wang (ORCID: https://orcid.org/0000-0002-3585-2524)
Publication Details
- Journal
- Electrical & Electronic Engineering Research
- Published
- 2024-12-15
- DOI
- https://doi.org/10.37420/j.eeer.2024.002
- Primary Topic
- Metaheuristic Optimization Algorithms Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00