Adaptive Binary Search Tree for Integers Sets with Few Holes

Authors

  • Ruixin Wang
  • Nicolas Barnier

DOI:

https://doi.org/10.37420/j.eeer.2024.002

Keywords:

self-balancing binary search tree, adaptive data structure, compact representation

Abstract

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.

Author Biographies

Ruixin Wang

Laboratory of Complex System Safety and Intelligent Decisions, CAUC-ENAC Joint Research Center of Applied Mathematics for ATM, Civil Aviation University of China, Tianjin, China

Nicolas Barnier

ENAC Lab, Université de Toulouse, France

Downloads

Published

2024-12-15

How to Cite

Wang, R., & Barnier, N. (2024). Adaptive Binary Search Tree for Integers Sets with Few Holes. Electrical & Electronic Engineering Research, 4(1). https://doi.org/10.37420/j.eeer.2024.002

Similar Articles

1 2 > >> 

You may also start an advanced similarity search for this article.