网站大量收购独家精品文档,联系QQ:2885784924

利用频率特征的Trie树索引快速构造算法.PDF

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
利用频率特征的Trie树索引快速构造算法.PDF

2013 年 4 月 第 36 卷 第 2 期 北 京 邮 电 大 学 学 报 Journal of Beijing University of Posts and Telecommunications Apr. 2013 Vol. 36 No. 2 摇 摇 文章编号:1007鄄5321(2013)02鄄0084鄄05 利用频率特征的 Trie树索引快速构造算法 张启飞1,摇 吴吉义1,2,摇 李文娟1,3,摇 吕红兵1,摇 潘雪增1 (1.浙江大学 计算机科学与技术学院, 杭州 310027; 2.杭州师范大学 电子商务与信息安全重点实验室, 杭州 310036; 3.杭州师范大学 钱江学院, 杭州 310036) 摘要: 随着物联网技术的日益成熟和云计算标准的确立以及各种智能终端的大规模出现,互联网数据呈指数增加, 为数据建立索引至关重要,为此提出一种基于词频的 Trie树索引快速构造算法,首先对索引字符串进行排序,然后 对排序文件进行预处理,预处理生成一个三元组,分别由相同字符横向偏移、纵向偏移及字符组成. 快速算法依次 扫描预处理数据的每一列,根据三元组的偏移跳过相同的字符前缀. 实验结果显示,本算法的时间明显少于传统构 造算法,优于 Aoe的双数组 Trie构造算法. 关摇 键摇 词: 索引构造; 快速算法; Trie树; 字符频率; 双数组 Trie 中图分类号: TP338郾 8摇 摇 摇 摇 文献标志码: A A Fast Trie Tree Index Construction Algorithm Using Frequency Characteristic ZHANG Qi鄄fei1,摇 WU Ji鄄yi1,2,摇 LI Wen鄄juan1,3,摇 L譈 Hong鄄bing1,摇 PAN Xue鄄zeng1 (1. College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China; 2. Key Laboratory of E鄄Business and Information Security, Hangzhou Normal University, Hangzhou 310036, China; 3. College of Qianjiang, Hangzhou Normal University, Hangzhou 310036, China) Abstract: With maturity of “the Internet of things冶 and establishment of cloud computing national stand鄄 ards, kinds of terminals appear quickly, and huge amounts of data蒺s generation exponentially increase, so it蒺s crucial to construct index for the data. A fast Trie鄄tree index construction algorithm is proposed. All the strings are sorted and then the sorted strings are preprocessed, and after that a matrix with the element of triple is generated, consisting of the character, the horizontal and vertical offset of the character. The fast algorithm scans each column in turn and skips the repeated rows and columns with the same prefix according to offset value in triple array. The experimental results show that the fast algorithm significantly reduces the construction time compared with traditional algorithm and the performance is better than Aoe蒺s double鄄array Trie construction algorithm. Key words: index construction; fast algor

文档评论(0)

thl1006 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档