Patricia tries again revisited

Author:

Szpankowski Wojciech1

Affiliation:

1. Department of Computer Science, Purdue University, West Lafayette, IN

Abstract

The Patricia trie is a simple modification of a regular trie. By eliminating unary branching nodes, the Patricia achieves better performance than regular tries. However, the question is: how much on the average is the Patricia better? This paper offers a thorough answer to this question by considering some statistics of the number of nodes examined in a successful search and an unsuccessful search in the Patricia tries. It is shown that for the Patricia containing n records the average of the successful search length S n asymptotically becomes 1/ h 1 · ln n + O (1), and the variance of S n is either var S n = c · ln n + 0 (1) for an asymmetric Patricia or var S n = 0 (1) for a symmetric Patricia, where h 1 is the entropy of the alphabet over which the Patricia is built and c is an explicit constant. Higher moments of S n are also assessed. The number of nodes examined in an unsuccessful search U n is studied only for binary symmetric Patricia tries. We prove that the m th moment of the unsuccessful search length EU m n satisfies lim n →∞ EU m n /log m 2 n = 1, and the variance of U n is var U n = 0.87907. These results suggest that Patricia tries are very well balanced trees in the sense that a random shape of Patriciatries resembles the shape of complete trees that are ultimately balanced trees.

Publisher

Association for Computing Machinery (ACM)

Subject

Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software

Cited by 54 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. SoK: Compression in Rollups;2024 IEEE International Conference on Blockchain and Cryptocurrency (ICBC);2024-05-27

2. Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT Manipulation;2024 IEEE Symposium on Security and Privacy (SP);2024-05-19

3. Orion: A Centralized Blockchain Database with Multi-Party Data Access Control;2023 IEEE International Conference on Blockchain and Cryptocurrency (ICBC);2023-05-01

4. Dynamic spanning trees for connectivity queries on fully-dynamic undirected graphs;Proceedings of the VLDB Endowment;2022-07

5. Incorporating Multi-Modal Travel Planning into an Agent-Based Model: A Case Study at the Train Station Kellinghusenstraße in Hamburg;Land;2021-11-03

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3