检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]安徽财经大学管理科学与工程学院,安徽蚌埠233030
出 处:《通化师范学院学报》2014年第12期46-48,共3页Journal of Tonghua Normal University
基 金:安徽财经大学本科教学质量与教学改革工程项目资助(项目号:acjyyb2014123)
摘 要:详细分析了文献[1]中二叉排序树的查找、插入、删除操作.文献[1]先是实现了查找算法,调用查找算法实现插入操作,当查找不成功时插入结点.对于删除操作,是在二叉排序树上查找成功时删除结点,并详细描述了删除结点时的三种情况,其中分析了双亲结点指针的变化,而在具体实现时没有像插入操作那样直接调用查找算法,而是借助于递归和引用控制删除结点和双亲结点的关系及双亲结点指针的变化,在查找的过程中实现删除,边查找边删除.这种不一致性给很多读者带来了疑惑.该文针对该问题提出基于查找算法的删除算法,该算法显式地体现了删除结点时双亲结点指针的变化,一方面和文字描述部分一致,同时又和插入操作具有统一性,便于读者更好地理解二叉排序树上的删除操作.The article analyzed in detail search,insertion and deletion operation of binary sort tree in Literature 1. Searching algorithm was put forward and insertion operation was realized. Inserting the node when failure in searching. Deletion was carried out when success in search and three cases was describes in detail when deleting nodes,in which analyzing the change of parent node pointer,but not like insertion opera-tion directly call the searching algorithm in realization. It controlled the relations between deleted node and its parent node as well as the change of parent node pointer by means of recursion and reference. Deleting node when searching. The inconsistency makes reader feel discredit. The article puts forward deletion algorithm based on search algorithm,which embodies explicitly the change of parent node point-er when deleting node. This is accord with described part,and unifies with insertion,which is conven-ient for understanding the deletion in binary sort tree.
分 类 号:TP301[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.31