A Coarse Grain Multicomputer Algorithm Solving the Optimal Binary Search Tree Problem

Mounir Kechid, Jean‐Frédéric Myoupo

2008 · 13 citations · 6 references

Concepts

Abstract

This paper presents a CGM parallel algorithm for the cost of the optimal binary search tree problem (OBST problem). The best sequential algorithm for this problem, due to Knuth, requires O(n <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> ) time steps and O(n <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> ) space. Our CGM (coarse grain multicomputer) algorithm uses p processors, each with O(n <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> /p) local memory. It requires O(p) communication rounds and O(n <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> /p) local computations per processor. To the best of our knowledge, it is the first CGM parallel algorithm, based on the Knuth sequential version of the OBST problem.

References

6