Title :
An efficient tree generation algorithm
Author :
Li, Zhan-Fen ; Kuang, Li-Qun
Author_Institution :
Dept. of Continuing Educ., Taiyuan Inst. of Technol., Taiyuan, China
Abstract :
In this paper, an efficient tree generation algorithm based on prefix code is proposed. The algorithm utilizes the sequence consistency of the database record set and the preorder traversal tree. It only need to query on the database and traversal the tree nodes one time respectively, then all nodes can be added to the tree one by one. There is only one cycle that is the traverse of the tree nodes collection, so the time complexity of the algorithm is O (n). Experimental results show that the tree nodes and their child nodes can be queried and stated rapidly.
Keywords :
computational complexity; query processing; tree data structures; trees (mathematics); database record set; prefix code; preorder traversal tree; sequence consistency; time complexity; tree generation algorithm; tree node collection; Classification algorithms; Manganese; prefix tree; preorder traversal; tree generation algorithm;
Conference_Titel :
Computer Application and System Modeling (ICCASM), 2010 International Conference on
Conference_Location :
Taiyuan
Print_ISBN :
978-1-4244-7235-2
Electronic_ISBN :
978-1-4244-7237-6
DOI :
10.1109/ICCASM.2010.5622499