{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T13:10:53Z","timestamp":1792156253211,"version":"4.4.0"},"reference-count":34,"publisher":"Association for Computing Machinery (ACM)","issue":"4","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Algorithms"],"published-print":{"date-parts":[[2006,10]]},"abstract":"<jats:p>\n            We show that any priority queue data structure that supports\n            <jats:italic>insert<\/jats:italic>\n            ,\n            <jats:italic>delete<\/jats:italic>\n            , and\n            <jats:italic>find-min<\/jats:italic>\n            operations in\n            <jats:italic>pq<\/jats:italic>\n            (\n            <jats:italic>n<\/jats:italic>\n            ) amortized time, where\n            <jats:italic>n<\/jats:italic>\n            is an upper bound on the number of elements in the priority queue, can be converted into a priority queue data structure that also supports fast\n            <jats:italic>meld<\/jats:italic>\n            operations with essentially no increase in the amortized cost of the other operations. More specifically, the new data structure supports\n            <jats:italic>insert<\/jats:italic>\n            ,\n            <jats:italic>meld<\/jats:italic>\n            and\n            <jats:italic>find-min<\/jats:italic>\n            operations in\n            <jats:italic>O<\/jats:italic>\n            (1) amortized time, and\n            <jats:italic>delete<\/jats:italic>\n            operations in\n            <jats:italic>O<\/jats:italic>\n            (\n            <jats:italic>pq<\/jats:italic>\n            (\n            <jats:italic>n<\/jats:italic>\n            ) + \u03b1(\n            <jats:italic>n<\/jats:italic>\n            )) amortized time, where \u03b1(\n            <jats:italic>n<\/jats:italic>\n            ) is a functional inverse of the Ackermann function, and where\n            <jats:italic>n<\/jats:italic>\n            this time is the total number of operations performed on all the priority queues. The construction is very simple. The meldable priority queues are obtained by placing a nonmeldable priority queues at each node of a union-find data structure. We also show that when all keys are integers in the range [1,\n            <jats:italic>N<\/jats:italic>\n            ], we can replace\n            <jats:italic>n<\/jats:italic>\n            in the bound stated previously by min{\n            <jats:italic>n<\/jats:italic>\n            ,\n            <jats:italic>N<\/jats:italic>\n            }.Applying this result to the nonmeldable priority queue data structures obtained recently by Thorup [2002b] and by Han and Thorup [2002] we obtain meldable RAM priority queues with\n            <jats:italic>O<\/jats:italic>\n            (log log\n            <jats:italic>n<\/jats:italic>\n            ) amortized time per operation, or\n            <jats:italic>O<\/jats:italic>\n            (\u221alog log\n            <jats:italic>n<\/jats:italic>\n            ) expected amortized time per operation, respectively. As a by-product, we obtain improved algorithms for the minimum directed spanning tree problem on graphs with integer edge weights, namely, a deterministic\n            <jats:italic>O<\/jats:italic>\n            (\n            <jats:italic>m<\/jats:italic>\n            log log\n            <jats:italic>n<\/jats:italic>\n            )-time algorithm and a randomized\n            <jats:italic>O<\/jats:italic>\n            (\n            <jats:italic>m<\/jats:italic>\n            \u221alog log\n            <jats:italic>n<\/jats:italic>\n            )-time algorithm. For sparse enough graphs, these bounds improve on the\n            <jats:italic>O<\/jats:italic>\n            (\n            <jats:italic>m<\/jats:italic>\n            +\n            <jats:italic>n<\/jats:italic>\n            log\n            <jats:italic>n<\/jats:italic>\n            ) running time of an algorithm by Gabow et al. [1986] that works for arbitrary edge weights.\n          <\/jats:p>","DOI":"10.1145\/1198513.1198517","type":"journal-article","created":{"date-parts":[[2007,4,5]],"date-time":"2007-04-05T19:20:08Z","timestamp":1175800808000},"page":"535-556","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Melding priority queues"],"prefix":"10.1145","volume":"2","author":[{"given":"Ran","family":"Mendelson","sequence":"first","affiliation":[{"name":"Tel Aviv University, Tel-Aviv, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Robert E.","family":"Tarjan","sequence":"additional","affiliation":[{"name":"Princeton University and Hewlett Packard, Palo Alto, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mikkel","family":"Thorup","sequence":"additional","affiliation":[{"name":"AT&amp;T Labs---Research, Florham Park, NJ"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Uri","family":"Zwick","sequence":"additional","affiliation":[{"name":"Tel Aviv University, Tel-Aviv, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2006,10]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1007\/11523468_7"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1077464.1077471"},{"key":"e_1_2_1_3_1","volume-title":"Developments in Operations Research. Gordon and Breach","author":"Bock F.","unstructured":"Bock , F. 1971. An algorithm to construct a minimum directed spanning tree in a directed network . In Developments in Operations Research. Gordon and Breach , New York , 29--44. Bock, F. 1971. An algorithm to construct a minimum directed spanning tree in a directed network. In Developments in Operations Research. Gordon and Breach, New York, 29--44."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(93)90240-A"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230090403"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/355541.355562"},{"key":"e_1_2_1_7_1","first-page":"1396","article-title":"On the shortest arborescence of a directed graph. Sci","volume":"14","author":"Chu Y.","year":"1965","unstructured":"Chu , Y. , and Liu , T. 1965 . On the shortest arborescence of a directed graph. Sci . Sinica 14 , 1396 -- 1400 . Chu, Y., and Liu, T. 1965. On the shortest arborescence of a directed graph. Sci. Sinica 14, 1396--1400.","journal-title":"Sinica"},{"key":"e_1_2_1_8_1","volume-title":"The Hollerith and Powers tabulating machines","author":"Comrie L.","unstructured":"Comrie , L. 1929. The Hollerith and Powers tabulating machines . Office Machinary Users' Association, Ltd. 25--37. Comrie, L. 1929. The Hollerith and Powers tabulating machines. Office Machinary Users' Association, Ltd. 25--37."},{"key":"e_1_2_1_9_1","unstructured":"Cormen T. Leiserson C. Rivest R. and Stein C. 2001. Introduction to Algorithm 2nd Ed. MIT Press Cambridge MA.   Cormen T. Leiserson C. Rivest R. and Stein C. 2001. Introduction to Algorithm 2nd Ed. MIT Press Cambridge MA."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01386390"},{"key":"e_1_2_1_11_1","first-page":"6","article-title":"Indexing for rapid random access memory systems","volume":"5","author":"Dumey A.","year":"1956","unstructured":"Dumey , A. 1956 . Indexing for rapid random access memory systems . Comput. Automation 5 , 12, 6 -- 9 . Dumey, A. 1956. Indexing for rapid random access memory systems. Comput. Automation 5, 12, 6--9.","journal-title":"Comput. Automation"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.6028\/jres.071B.032"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/28869.28874"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(93)90040-4"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(05)80064-9"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02579168"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/509907.509993"},{"key":"e_1_2_1_18_1","volume-title":"Proceedings of the 43rd Symposium on the Foundations of Computer Science (FOCS). 135--144","author":"Han Y.","unstructured":"Han , Y. , and Thorup , M . 2002. Integer sorting in O(n&sqrt;log log n) expected time and linear space . In Proceedings of the 43rd Symposium on the Foundations of Computer Science (FOCS). 135--144 . Han, Y., and Thorup, M. 2002. Integer sorting in O(n&sqrt;log log n) expected time and linear space. In Proceedings of the 43rd Symposium on the Foundations of Computer Science (FOCS). 135--144."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/509907.509990"},{"key":"e_1_2_1_20_1","volume-title":"Proceedings of 13th Symposium on Discrete Algorithm (SODA). 19--28","author":"Kaplan H.","unstructured":"Kaplan , H. , Shafrir , N. , and Tarjan , R . 2002b. Union-find with deletions . In Proceedings of 13th Symposium on Discrete Algorithm (SODA). 19--28 . Kaplan, H., Shafrir, N., and Tarjan, R. 2002b. Union-find with deletions. In Proceedings of 13th Symposium on Discrete Algorithm (SODA). 19--28."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/201019.201022"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230010305"},{"key":"e_1_2_1_23_1","volume-title":"Proceedings of the 9th Scandinavian Workshop on Algorithm Theory (SWAT). 223--235","author":"Mendelson R.","unstructured":"Mendelson , R. , Tarjan , R. , Thorup , M. , and Zwick , U . 2004a. Melding priority queues . In Proceedings of the 9th Scandinavian Workshop on Algorithm Theory (SWAT). 223--235 . Mendelson, R., Tarjan, R., Thorup, M., and Zwick, U. 2004a. Melding priority queues. In Proceedings of the 9th Scandinavian Workshop on Algorithm Theory (SWAT). 223--235."},{"key":"e_1_2_1_24_1","volume-title":"Proceedings of 15th Symposium on Discrete Algorithm (SODA). 40--48","author":"Mendelson R.","unstructured":"Mendelson , R. , Thorup , M. , and Zwick , U . 2004. Meldable RAM priority queues and minimum directed spanning trees . In Proceedings of 15th Symposium on Discrete Algorithm (SODA). 40--48 . Mendelson, R., Thorup, M., and Zwick, U. 2004. Meldable RAM priority queues and minimum directed spanning trees. In Proceedings of 15th Symposium on Discrete Algorithm (SODA). 40--48."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/505241.505243"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/321879.321884"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230070103"},{"key":"e_1_2_1_28_1","doi-asserted-by":"crossref","unstructured":"Tarjan R. 1983. Data Structures and Network Algorithms. SIAM.   Tarjan R. 1983. Data Structures and Network Algorithms. SIAM.","DOI":"10.1137\/1.9781611970265"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1137\/0606031"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/62.2160"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.5555\/645413.652157"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.2002.1211"},{"key":"e_1_2_1_33_1","volume-title":"Proceedings of 14th Symposium on the Foundations of Computer Science (SODA). 699--707","author":"Thorup M.","year":"2003","unstructured":"Thorup , M. 2003 . On AC0 implementations of fusion trees and atomic heaps . In Proceedings of 14th Symposium on the Foundations of Computer Science (SODA). 699--707 . Thorup, M. 2003. On AC0 implementations of fusion trees and atomic heaps. In Proceedings of 14th Symposium on the Foundations of Computer Science (SODA). 699--707."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01683268"}],"container-title":["ACM Transactions on Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1198513.1198517","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T20:32:43Z","timestamp":1672259563000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1198513.1198517"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2006,10]]},"references-count":34,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2006,10]]}},"alternative-id":["10.1145\/1198513.1198517"],"URL":"https:\/\/doi.org\/10.1145\/1198513.1198517","relation":{},"ISSN":["1549-6325","1549-6333"],"issn-type":[{"value":"1549-6325","type":"print"},{"value":"1549-6333","type":"electronic"}],"subject":[],"published":{"date-parts":[[2006,10]]},"assertion":[{"value":"2006-10-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}