摘要
根据树形结构的显示特征和线索二叉树的访问顺序,提出了一种新的表结构用来保存树,并在此表结构的基础上提出了新的树形结构显示算法,同时给出了增减节点以及求某个节点的所有子孙节点的算法。
According to the displaying character of the tree structure and the access sequence of threaded binary tree,a new table structure to save the tree is introduced. Based on the new table structure,a new algorithm to display tree structure is carried out, at the same time, the algorithm to add or delete the tree node and to search all of the child-nodes is given.
出处
《河北省科学院学报》
CAS
2005年第4期15-18,共4页
Journal of The Hebei Academy of Sciences
关键词
显示树形结构
线索二叉树
效据库
Displaying of tree structure
Threaded binary tree
Database