Performance of height-balanced trees

This paper presents the results of simulations that investigate the performance of height-balanced (HB[k]) trees. It is shown that the only statistic of HB[1] trees (AVL trees) that is a function of the size of the tree is the time to search for an item in the tree. For sufficiently large trees, the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Communications of the ACM 1976-01, Vol.19 (1), p.23-28
Hauptverfasser: Karlton, P. L., Fuller, S. H., Scroggs, R. E., Kaehler, E. B.
Format: Magazinearticle
Sprache:eng
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 28
container_issue 1
container_start_page 23
container_title Communications of the ACM
container_volume 19
creator Karlton, P. L.
Fuller, S. H.
Scroggs, R. E.
Kaehler, E. B.
description This paper presents the results of simulations that investigate the performance of height-balanced (HB[k]) trees. It is shown that the only statistic of HB[1] trees (AVL trees) that is a function of the size of the tree is the time to search for an item in the tree. For sufficiently large trees, the execution times of all procedures for maintaining HB[1] trees are independent of the size of the tree. In particular, an average of .465 restructures are required per insertion, with an average of 2.78 nodes revisited to restore the HB[1] property; an average of .214 restructures are required per deletion, with an average of 1.91 nodes revisited to restore the HB[1] property. Moreover, the execution times of procedures for maintaining HB[k] trees, for k > 1, are also independent of the size of the tree except for the average number of nodes revisited on a delete operation in order to restore the HB[k] property on traceback. The cost of maintaining HB[k] trees drops sharply as the allowable imbalance (k) increases. Both analytical and experimental results that show the cost of maintaining HB[k] trees as a function of k are discussed.
doi_str_mv 10.1145/359970.359989
format Magazinearticle
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_miscellaneous_29011240</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>29011240</sourcerecordid><originalsourceid>FETCH-LOGICAL-c305t-30c0fd525e2e439f16340d47986832a64b33f89ffd89bdeccc6e95f1690bf1883</originalsourceid><addsrcrecordid>eNotkM9LxDAQhYMoWFeP3nsQb1knmaRJjrL4Cxb0oOfQphO30rVr0j3439tST495fAyPj7FrAWshlL5D7ZyB9RzWnbBCaG24QWFOWQEAgoOx8pxd5Pw1naArXbCbN0pxSPv6O1A5xHJH3edu5E3dz01bjokoX7KzWPeZrv5zxT4eH943z3z7-vSyud_ygKBHjhAgtlpqkqTQRVGhglYZZyuLsq5Ugxiti7G1rmkphFCR0xPmoInCWlyx2-XvIQ0_R8qj33c5UD9toeGYvXQghFQwgXwBQxpyThT9IXX7Ov16AX524RcXfnGBf3fnT2o</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>magazinearticle</recordtype><pqid>29011240</pqid></control><display><type>magazinearticle</type><title>Performance of height-balanced trees</title><source>Alma/SFX Local Collection</source><creator>Karlton, P. L. ; Fuller, S. H. ; Scroggs, R. E. ; Kaehler, E. B.</creator><creatorcontrib>Karlton, P. L. ; Fuller, S. H. ; Scroggs, R. E. ; Kaehler, E. B.</creatorcontrib><description>This paper presents the results of simulations that investigate the performance of height-balanced (HB[k]) trees. It is shown that the only statistic of HB[1] trees (AVL trees) that is a function of the size of the tree is the time to search for an item in the tree. For sufficiently large trees, the execution times of all procedures for maintaining HB[1] trees are independent of the size of the tree. In particular, an average of .465 restructures are required per insertion, with an average of 2.78 nodes revisited to restore the HB[1] property; an average of .214 restructures are required per deletion, with an average of 1.91 nodes revisited to restore the HB[1] property. Moreover, the execution times of procedures for maintaining HB[k] trees, for k &gt; 1, are also independent of the size of the tree except for the average number of nodes revisited on a delete operation in order to restore the HB[k] property on traceback. The cost of maintaining HB[k] trees drops sharply as the allowable imbalance (k) increases. Both analytical and experimental results that show the cost of maintaining HB[k] trees as a function of k are discussed.</description><identifier>ISSN: 0001-0782</identifier><identifier>EISSN: 1557-7317</identifier><identifier>DOI: 10.1145/359970.359989</identifier><language>eng</language><ispartof>Communications of the ACM, 1976-01, Vol.19 (1), p.23-28</ispartof><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c305t-30c0fd525e2e439f16340d47986832a64b33f89ffd89bdeccc6e95f1690bf1883</citedby><cites>FETCH-LOGICAL-c305t-30c0fd525e2e439f16340d47986832a64b33f89ffd89bdeccc6e95f1690bf1883</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>780,784,27925</link.rule.ids></links><search><creatorcontrib>Karlton, P. L.</creatorcontrib><creatorcontrib>Fuller, S. H.</creatorcontrib><creatorcontrib>Scroggs, R. E.</creatorcontrib><creatorcontrib>Kaehler, E. B.</creatorcontrib><title>Performance of height-balanced trees</title><title>Communications of the ACM</title><description>This paper presents the results of simulations that investigate the performance of height-balanced (HB[k]) trees. It is shown that the only statistic of HB[1] trees (AVL trees) that is a function of the size of the tree is the time to search for an item in the tree. For sufficiently large trees, the execution times of all procedures for maintaining HB[1] trees are independent of the size of the tree. In particular, an average of .465 restructures are required per insertion, with an average of 2.78 nodes revisited to restore the HB[1] property; an average of .214 restructures are required per deletion, with an average of 1.91 nodes revisited to restore the HB[1] property. Moreover, the execution times of procedures for maintaining HB[k] trees, for k &gt; 1, are also independent of the size of the tree except for the average number of nodes revisited on a delete operation in order to restore the HB[k] property on traceback. The cost of maintaining HB[k] trees drops sharply as the allowable imbalance (k) increases. Both analytical and experimental results that show the cost of maintaining HB[k] trees as a function of k are discussed.</description><issn>0001-0782</issn><issn>1557-7317</issn><fulltext>true</fulltext><rsrctype>magazinearticle</rsrctype><creationdate>1976</creationdate><recordtype>magazinearticle</recordtype><recordid>eNotkM9LxDAQhYMoWFeP3nsQb1knmaRJjrL4Cxb0oOfQphO30rVr0j3439tST495fAyPj7FrAWshlL5D7ZyB9RzWnbBCaG24QWFOWQEAgoOx8pxd5Pw1naArXbCbN0pxSPv6O1A5xHJH3edu5E3dz01bjokoX7KzWPeZrv5zxT4eH943z3z7-vSyud_ygKBHjhAgtlpqkqTQRVGhglYZZyuLsq5Ugxiti7G1rmkphFCR0xPmoInCWlyx2-XvIQ0_R8qj33c5UD9toeGYvXQghFQwgXwBQxpyThT9IXX7Ov16AX524RcXfnGBf3fnT2o</recordid><startdate>197601</startdate><enddate>197601</enddate><creator>Karlton, P. L.</creator><creator>Fuller, S. H.</creator><creator>Scroggs, R. E.</creator><creator>Kaehler, E. B.</creator><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>8FD</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope></search><sort><creationdate>197601</creationdate><title>Performance of height-balanced trees</title><author>Karlton, P. L. ; Fuller, S. H. ; Scroggs, R. E. ; Kaehler, E. B.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c305t-30c0fd525e2e439f16340d47986832a64b33f89ffd89bdeccc6e95f1690bf1883</frbrgroupid><rsrctype>magazinearticle</rsrctype><prefilter>magazinearticle</prefilter><language>eng</language><creationdate>1976</creationdate><toplevel>online_resources</toplevel><creatorcontrib>Karlton, P. L.</creatorcontrib><creatorcontrib>Fuller, S. H.</creatorcontrib><creatorcontrib>Scroggs, R. E.</creatorcontrib><creatorcontrib>Kaehler, E. B.</creatorcontrib><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Technology Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><jtitle>Communications of the ACM</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Karlton, P. L.</au><au>Fuller, S. H.</au><au>Scroggs, R. E.</au><au>Kaehler, E. B.</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Performance of height-balanced trees</atitle><jtitle>Communications of the ACM</jtitle><date>1976-01</date><risdate>1976</risdate><volume>19</volume><issue>1</issue><spage>23</spage><epage>28</epage><pages>23-28</pages><issn>0001-0782</issn><eissn>1557-7317</eissn><abstract>This paper presents the results of simulations that investigate the performance of height-balanced (HB[k]) trees. It is shown that the only statistic of HB[1] trees (AVL trees) that is a function of the size of the tree is the time to search for an item in the tree. For sufficiently large trees, the execution times of all procedures for maintaining HB[1] trees are independent of the size of the tree. In particular, an average of .465 restructures are required per insertion, with an average of 2.78 nodes revisited to restore the HB[1] property; an average of .214 restructures are required per deletion, with an average of 1.91 nodes revisited to restore the HB[1] property. Moreover, the execution times of procedures for maintaining HB[k] trees, for k &gt; 1, are also independent of the size of the tree except for the average number of nodes revisited on a delete operation in order to restore the HB[k] property on traceback. The cost of maintaining HB[k] trees drops sharply as the allowable imbalance (k) increases. Both analytical and experimental results that show the cost of maintaining HB[k] trees as a function of k are discussed.</abstract><doi>10.1145/359970.359989</doi><tpages>6</tpages><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier ISSN: 0001-0782
ispartof Communications of the ACM, 1976-01, Vol.19 (1), p.23-28
issn 0001-0782
1557-7317
language eng
recordid cdi_proquest_miscellaneous_29011240
source Alma/SFX Local Collection
title Performance of height-balanced trees
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-19T16%3A52%3A48IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Performance%20of%20height-balanced%20trees&rft.jtitle=Communications%20of%20the%20ACM&rft.au=Karlton,%20P.%20L.&rft.date=1976-01&rft.volume=19&rft.issue=1&rft.spage=23&rft.epage=28&rft.pages=23-28&rft.issn=0001-0782&rft.eissn=1557-7317&rft_id=info:doi/10.1145/359970.359989&rft_dat=%3Cproquest_cross%3E29011240%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=29011240&rft_id=info:pmid/&rfr_iscdi=true