On Huang and Wong's Algorithm for Generalized Binary Split Trees

01/12/2019
by   Marek Chrobak, et al.
0

Huang and Wong [5] 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 [11, 12] 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/01/2021

A Simple Algorithm for Optimal Search Trees with Two-Way Comparisons

We present a simple O(n^4)-time algorithm for computing optimal search t...
research
01/17/2020

An efficient sampling algorithm for difficult tree pairs

It is an open question whether there exists a polynomial-time algorithm ...
research
10/02/2020

Splay trees on trees

Search trees on trees (STTs) are a far-reaching generalization of binary...
research
04/25/2020

Lazy listing of equivalence classes – A paper on dynamic programming and tropical circuits

When a problem has more than one solution, it is often important, depend...
research
01/30/2020

Polynomial Time Algorithms for Constructing Optimal Binary AIFV-2 Codes

Huffman Codes are optimal Instantaneous Fixed-to-Variable (FV) codes in ...
research
01/02/2022

A Linear Algorithm for Computing Independence Polynomials of Trees

An independent set in a graph is a set of pairwise non-adjacent vertices...
research
11/23/2017

On Optimal Trees for Irregular Gather and Scatter Collectives

This paper studies the complexity of finding cost-optimal communication ...

Please sign up or login with your details

Forgot password? Click here to reset