Decision trees with minimum average depth for sorting eight elements

被引:4
作者
AbouEisha, Hassan [1 ]
Chikalov, Igor [1 ]
Moshkov, Mikhail [1 ]
机构
[1] King Abdullah Univ Sci & Technol, Comp Elect & Math Sci & Engn Div, Thuwal 239556900, Saudi Arabia
关键词
Sorting; Decision tree; Average depth;
D O I
10.1016/j.dam.2015.10.030
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We prove that the minimum average depth of a decision tree for sorting 8 pairwise different elements is equal to 620160/8!. We show also that each decision tree for sorting 8 elements, which has minimum average depth (the number of such trees is approximately equal to 8.548 x 10(326365)), has also minimum depth. Both problems were considered by Knuth (1998). To obtain these results, we use tools based on extensions of dynamic programming which allow us to make sequential optimization of decision trees relative to depth and average depth, and to count the number of decision trees with minimum average depth. (C) 2015 Elsevier B.V. All rights reserved.
引用
收藏
页码:203 / 207
页数:5
相关论文
共 10 条