On Huang and Wong’s algorithm for generalized binary split trees
On Huang and Wong’s algorithm for generalized binary split trees
复制标题
关于 Huang 和 Wong 的广义二叉分裂树算法
DOI:
10.1007/s00236-021-00411-z
复制
发表时间:
2019
期刊:
影响因子:
0.6
通讯作者:
N. Young
中科院分区:
文献类型:
--
作者:
M. Chrobak;M. Golin;J. Munro;N. Young
Huang and Wong (Acta Inform 21(1):113–123, 1984) proposed a polynomial-time dynamic-programming algorithm for computing optimal generalized binary split trees. We show that their algorithm is incorrect. Thus, it remains open whether such trees can be computed in polynomial time. Spuler (Optimal search trees using two-way key comparisons, PhD thesis, 1994) proposed modifying Huang and Wong’s algorithm to obtain an algorithm for a different problem: computing optimal two-way comparison search trees. We show that the dynamic program underlying Spuler’s algorithm is not valid, in that it does not satisfy the necessary optimal-substructure property and its proposed recurrence relation is incorrect. It remains unknown whether the algorithm is guaranteed to compute a correct overall solution.