学位论文详细信息
Optimal Path-Decomposition of Tries
Auto-completion;Path-Decomposed Trie;Optimal;Data Structure;Prefix Tree;Heavy-Path
Daigle, Alexandre
University of Waterloo
关键词: Auto-completion;    Path-Decomposed Trie;    Optimal;    Data Structure;    Prefix Tree;    Heavy-Path;   
Others  :  https://uwspace.uwaterloo.ca/bitstream/10012/10491/3/daigle_alexandre.pdf
瑞士|英语
来源: UWSPACE Waterloo Institutional Repository
PDF
【 摘 要 】

In this thesis, we consider the path-decomposition representation of prefix trees. We show that given query probabilities for every word in the prefix tree, the heavy-path strategy produces the optimal trie with respect to the number of node accesses. We show how to implement the heavy-path strategy in O(N) time for a trie containing n words with total length N. To prove this result, we show a complete characterization of the choices made by the optimal decomposition strategy. Using this characterization, we describe how to efficiently support dynamic operations on the path-decomposed trie while preserving the optimality in O(sigma * |w|) time for an alphabet size of sigma and a word length of |w|. We also give entropy-based bounds of the node accesses per query for their respective probabilities. Finally, we show theoretical and experimental results on the performance of heavy-path versus max-score, another popular path-decomposition strategy.

【 预 览 】
附件列表
Files Size Format View
Optimal Path-Decomposition of Tries 684KB PDF download
  文献评价指标  
  下载次数:4次 浏览次数:23次