摘要
传统面向过程的二分查找判定树构造方法复杂且工作量大。通过分析二分查找判定树的特点,提出倾斜二叉树的定义和构造方法,并进行了相关性质的探究。利用逆向哈弗曼编码(Reversed Huffman Coding,RHC)和二分查找判定树的中序有序性,提出了一种面向计算的二分查找判定树构造法——RHC构造法。结合性能分析、对比,RHC构造法比传统面向过程的方法速度更快、效率更高。
The traditional process-oriented binary search decision tree construction method is complex and the workload is large. We analyze the features of the binary search decision tree,define the bias binary tree and put forward its construction method,as well as discuss the related properties. Based on the Reversed Huffman Coding RHC and the fact that the inorder traversal of binary search decision tree is ordered,this paper presents a computational-oriented method—RHC construction method—for constructing the binary search decision tree. Combined with performance analysis and comparison,RHC construction method is faster and more efficient than traditional process-oriented method.
作者
徐有为
张宏军
程恺
陈裕田
周彬彬
Hongjun;Cheng Kai;Chen Yutian;Zhou Binbin(System,Army Engineering University of PLA,Nanjing 210000,China)
出处
《信息技术与网络安全》
2018年第9期52-56,共5页
Information Technology and Network Security
基金
江苏省自然科学基金项目(BK20150720)
关键词
二分查找
判定树
倾斜二叉树
逆向哈夫曼编码
binary search
decision tree
bias binary tree
reversed Huffman coding