期刊文献+

K-th Number Query问题的改进算法研究

Improvement of K-th number query problem algorithm
下载PDF
导出
摘要 K-th number query是计算机算法中的一个基础问题,被广泛作为很多算法实现的重要步骤。对该问题进行了深入研究,并找到了单询问渐近时间复杂度最优的算法。目前一般对于多询问的K-th number query问题使用平衡二叉树解决,询问的时间复杂度为O(lbn)。但该算法实现比较复杂,并且常系数较大,提出了基于Bit Indexed Tree数据结构的算法解决,在同等时间复杂度的前提下,实现简单,隐含的常系数很小。最后进行了实验测试,分析显示该新算法不论在时间上还是空间上都优于现有的算法。 The K-th number query is a fundamental problem in computer algorithm,which is a subroutine of numerous problems. Researchers have done a lot of further work including the linear time algorithm for single K-th number query.The time com plexity O(lb n) for each query solution has already been found for the multi-queries K-th number query problem,with the help of balance search tree structure.But the BST-based algorithm is not very easy to implement as well as a big constant factor hidden in the Big-O representation.This paper introduces an algorithm based on Bit Indexed Tree to tackle K-th number query with easy implementation and small constant factor.Finally,the experiment shows that the new algorithm is remarkably faster than previous algorithms with nearly optimal memory usage.
作者 陈鑫
出处 《计算机工程与应用》 CSCD 北大核心 2009年第21期150-152,共3页 Computer Engineering and Applications
关键词 第K大数查询 位索引树 随机化选择 K-th number query bit indexed tree random-select
  • 相关文献

参考文献13

  • 1Musser D R.Introspective sorting and K-th number query algorithms[J].Software:Practice and Experience,1997,27(8):983-993. 被引量:1
  • 2ISO/IEC 14882:Specifies requirements for implementations of the C++ programming language and standard library[S].2003. 被引量:1
  • 3Knuth D.The art of computer programming[M].3rd ed.NY:Addison-Wesley,1997:207-219. 被引量:1
  • 4Clancy M J,Knuth D E.A programming and problem-solving seminar,Technical Report CS-TR-77-606[R].Stanford University,1977. 被引量:1
  • 5Cormen T H,Leiserson C E,Rivest R L,et al.Introduction to algorithms[M].America:MIT Press,2002. 被引量:1
  • 6Fenwick P M.A new data structure for cumulative frequency tables[J].Software-Practice and Experience,1994,24(3):327-336. 被引量:1
  • 7Vines P,Zobel J.Comprossion techniques for chinese text[J].Soft-ware-Practice & Experience,1995. 被引量:1
  • 8Andersson A.Bslanced search trees made simple[C]//Workshop on Algorithms and Data Structures,1993:60-71. 被引量:1
  • 9曼博.算法引论[M].北京:电子工业出版社,2005. 被引量:1
  • 10Fenwick P M.A new data structure for cumulative probability tables:An improved frequency-to-symbol algorithm[J].Software-Prac-tice & Experience,1995. 被引量:1

二级参考文献21

  • 1洪家荣,丁明峰,李星原,王丽薇.一种新的决策树归纳学习算法[J].计算机学报,1995,18(6):470-474. 被引量:92
  • 2常志玲,周庆敏,杨清莲.基于粗糙集理论的决策树构造算法[J].南京工业大学学报(自然科学版),2005,27(4):80-83. 被引量:9
  • 3赵翔,向一丹,刘同明,祁云嵩.一种基于粗糙集的决策树生成算法[J].华东船舶工业学院学报,2005,19(4):73-76. 被引量:10
  • 4王名扬,卫金茂,伊卫国.基于粗集理论的新决策树剪枝方法[J].东北师大学报(自然科学版),2005,37(3):28-32. 被引量:5
  • 5Agrawal R,Srikant R,Fast algorithms for mining association rules [C].Proceedings of 20th International Conference on Very Large Datebases,Santiago:Chile,1994.487-499. 被引量:1
  • 6Cheung D W,Han J.Maintenance of discovered association rules in large database:An incremental updating technique [C].Proc of the 12th Int Conf on Data Engineering,New Orleans,Louisiana,1996.106-114. 被引量:1
  • 7Cheung DW,Lee S D,Kao B.A general incremental technique for maintaining discovered association rules[C].Proc of the 5th Int Confon Database Systems for Advanced Applications,Melbourne Australia,1997.185-194. 被引量:1
  • 8Han Jiawei, Kamber M. Data mining: Concepts and techniques [M]. Beijing: Higher Education Press, 2001 被引量:1
  • 9Agrawal R. Mining Association Rules Between Sets of Items in Large Database[C]. In: Proc. of ACM SIGMOD Conf. on Management of Data, Washington, 1993. 207~216 被引量:1
  • 10Cheung D W. Maintenance of Discovered Association Rules in Large Databases: An Incremental Updating Technique. In: Proc. of the 12th Intl. Conf. on Data Engineering, New Orleans, Louisi ana, 1996. 106~114 被引量:1

共引文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部