Relaxed balance for search trees with local rebalancing

被引:6
|
作者
Larsen, KS
Ottmann, T
Soisalon-Soininen, E
机构
[1] Univ So Denmark, Odense Univ, Dept Math & Comp Sci, DK-5230 Odense M, Denmark
[2] Univ Freiburg, Inst Comp Sci, D-79110 Freiburg, Germany
[3] Aalto Univ, Lab Informat Proc Sci, FIN-02150 Espoo, Finland
[4] Univ Wisconsin, Dept Comp Sci, Madison, WI 53706 USA
关键词
D O I
10.1007/PL00013303
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Search trees with relaxed balance were introduced with the aim of facilitating fast updating on shared-memory asynchronous parallel architectures. To obtain this, rebalancing has been uncoupled from the updating, so extensive locking in connection with updates is avoided. Rebalancing is taken care of by background processes, which do only a constant amount of work at a time before they release locks. Thus, the rebalancing and the associated locks are very localized in time as well as in space. In particular, there is no exclusive locking of whole paths. This means that the amount of parallelism possible is not limited by the height of the tree. Search trees with relaxed balance have been obtained by adapting standard sequential search trees to this new paradigm; clearly using similar techniques in each case, but no general result has been obtained. We show how any search tree with local bottom-up rebalancing can be used in a relaxed variant, preserving the complexity of the rebalancing from the sequential case. Additionally, we single out the one high level locking mechanism that a parallel implementation must provide in order to guarantee consistency. Though the ideas have come from search trees, the result presented here applies to tree structures in general, where operations initiated at the leave's progress towards the root in constant-sized steps.
引用
收藏
页码:743 / 763
页数:21
相关论文
共 50 条
  • [41] Deeper Local Search for Better Approximation on Maximum Internal Spanning Trees
    Li, Wenjun
    Chen, Jianer
    Wang, Jianxin
    ALGORITHMS - ESA 2014, 2014, 8737 : 642 - 653
  • [42] COMET: Learning Cardinality Constrained Mixture of Experts with Trees and Local Search
    Ibrahim, Shibal
    Chen, Wenyu
    Hazimeh, Hussein
    Ponomareva, Natalia
    Zhao, Zhe
    Mazumder, Rahul
    PROCEEDINGS OF THE 29TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, KDD 2023, 2023, : 832 - 844
  • [43] Efficient Local Search for Euclidean Path-Difference Median Trees
    Markin, Alexey
    Eulenstein, Oliver
    IEEE-ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, 2019, 16 (04) : 1374 - 1385
  • [44] A local search heuristic for bounded-degree minimum spanning trees
    Zahrani, M. S.
    Loomes, M. J.
    Malcolm, J. A.
    Albrecht, A. A.
    ENGINEERING OPTIMIZATION, 2008, 40 (12) : 1115 - 1135
  • [45] Improving Efficacy of Internal Binary Search Trees using Local Recovery
    Ramachandran, Arunmoezhi
    Mittal, Neeraj
    ACM SIGPLAN NOTICES, 2016, 51 (08) : 387 - 388
  • [46] Relaxed balance through standard rotations
    Larsen, KS
    Soisalon-Soininen, E
    Widmayer, P
    ALGORITHMS AND DATA STRUCTURES, 1997, 1272 : 450 - 461
  • [47] Relaxed Local Correctability from Local Testing
    Kumar, Vinayak M.
    Mon, Rey
    PROCEEDINGS OF THE 56TH ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, STOC 2024, 2024, : 1585 - 1593
  • [48] A Local Rebalancing Act Leads to Global Benefit
    Lu, Ju
    Zuo, Yi
    NEURON, 2017, 96 (04) : 712 - 713
  • [49] Balance between genetic search and local search in memetic algorithms for multiobjective permutation flowshop scheduling
    Ishibuchi, H
    Yoshida, T
    Murata, T
    IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2003, 7 (02) : 204 - 223
  • [50] Relaxed balanced red-black trees
    Hanke, S
    Ottmann, T
    Soisalon-Soininen, E
    ALGORITHMS AND COMPLEXITY, 1997, 1203 : 193 - 204