Title :
A class template for the best binary sort tree
Author :
Cen Gang ; Zhou Bingsheng
Author_Institution :
Sch. of Sci., Zhejiang Univ. of Sci. & Technol., Hangzhou, China
Abstract :
This article makes a detailed analysis about the search time complexity of the strict balanced binary sort tree, and gives a computation formula of the average search length, as well as its error estimate for asymptotic behavior. On the basis of the template of C++ language, this article puts forward a general design of a generic class for the strict balanced binary sort tree and a detailed design of its main member functions. At the end of this article, a guess which is related to estimate about absolute error of approximate calculation of the average search length appeared, what´s more, an idea about the strict balanced binary sort tree in a broad sense also appeared.
Keywords :
C++ language; search problems; tree data structures; C++ language; asymptotic behavior; search time complexity; strict balanced binary sort tree; Approximation methods; Arrays; Binary trees; Complexity theory; Education; Gallium nitride; Object oriented programming; average search length; generic class; strict balanced binary sort tree; template;
Conference_Titel :
Computer Science and Education (ICCSE), 2010 5th International Conference on
Conference_Location :
Hefei
Print_ISBN :
978-1-4244-6002-1
DOI :
10.1109/ICCSE.2010.5593558