Optimal Path-Decomposition of Tries
dc.contributor.author | Daigle, Alexandre | |
dc.date.accessioned | 2016-05-16T19:24:02Z | |
dc.date.available | 2016-05-16T19:24:02Z | |
dc.date.issued | 2016-05-16 | |
dc.date.submitted | 2016-05-11 | |
dc.description.abstract | 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. | en |
dc.identifier.uri | http://hdl.handle.net/10012/10491 | |
dc.language.iso | en | en |
dc.pending | false | |
dc.publisher | University of Waterloo | en |
dc.subject | Auto-completion | en |
dc.subject | Path-Decomposed Trie | en |
dc.subject | Optimal | en |
dc.subject | Data Structure | en |
dc.subject | Prefix Tree | en |
dc.subject | Heavy-Path | en |
dc.title | Optimal Path-Decomposition of Tries | en |
dc.type | Master Thesis | en |
uws-etd.degree | Master of Mathematics | en |
uws-etd.degree.department | David R. Cheriton School of Computer Science | en |
uws-etd.degree.discipline | Computer Science | en |
uws-etd.degree.grantor | University of Waterloo | en |
uws.comment.hidden | Please advise for comments before the end of the week. Friday May 20th is the 100% fee refund date for the Spring term. Thank you very much. | en |
uws.contributor.advisor | Munro, J. Ian | |
uws.contributor.advisor | López-Ortiz, Alejandro | |
uws.contributor.affiliation1 | Faculty of Mathematics | en |
uws.peerReviewStatus | Unreviewed | en |
uws.published.city | Waterloo | en |
uws.published.country | Canada | en |
uws.published.province | Ontario | en |
uws.scholarLevel | Graduate | en |
uws.typeOfResource | Text | en |