部分填充和搜索时间(以LC尝试次数为单位)
Partial fillup and search time in LC tries
摘要:
Andersson和Nilsson在1993年提出了一个层次压缩trie(简称:LC trie),其中一个节点的完整子树被压缩为一个度为子树大小的节点。最近的实验结果表明,一个“戏剧性的改善”时,充分的子树被部分填充的子树。在本文中,我们提供了一个理论上的理由,这些实验结果显示,除其他外,一个相当温和的改善搜索时间比原来的LC尝试。对于这样的分析,我们假设n个字符串是由一个二进制无记忆源独立生成的,p表示发出1的概率。我们首先证明了所谓的阿尔法填充水平(即,Trie中的最大级别,其中节点的α分数存在于该级别)集中在具有高概率的两个值上。我们明确给出这些值,直到O(1),并观察到alpha的值(严格在0和1之间)不影响前导项。这个结果直接产生在p不等于1/2的alpha-LC尝试中的典型深度(搜索时间),对于显式给定的常数C(取决于p但不取决于alpha),其结果是C loglog n。这应该与最近发现的典型深度相比,在原来的LC尝试,这是C' loglog n为一个较大的常数C'。因此,alpha-LC尝试中的搜索时间较小,但与原始LC尝试中的顺序相同。
英文摘要:
Andersson and Nilsson introduced in 1993 a level-compressed trie (in short: LC trie) in which a full subtree of a node is compressed to a single node of degree being the size of the subtree. Recent experimental results indicated a 'dramatic improvement' when full subtrees are replaced by partially filled subtrees. In this paper, we provide a theoretical justification of these experimental results showing, among others, a rather moderate improvement of the search time over the original LC tries. For such an analysis, we assume that n strings are generated independently by a binary memoryless source with p denoting the probability of emitting a 1. We first prove that the so called alpha-fillup level (i.e., the largest level in a trie with alpha fraction of nodes present at this level) is concentrated on two values with high probability. We give these values explicitly up to O(1), and observe that the value of alpha (strictly between 0 and 1) does not affect the leading term. This result directly yields the typical depth (search time) in the alpha-LC tries with p not equal to 1/2, which turns out to be C loglog n for an explicitly given constant C (depending on p but not on alpha). This should be compared with recently found typical depth in the original LC tries which is C' loglog n for a larger constant C'. The search time in alpha-LC tries is thus smaller but of the same order as in the original LC tries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。