检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国科学技术信息研究所,北京100038 [2]北京掌上通网络技术有限公司,北京100083
出 处:《计算机技术与发展》2010年第3期24-27,31,共5页Computer Technology and Development
摘 要:平衡二叉树又称AVL树,得名于它的发明者G.M.Adelson-Velsky和E.M.Landis。作为一种常用的数据结构,许多教科书都详细描述了实现的算法,但是基本都是根据不同树形LL、RR、LR、RL给出相应逻辑,而且都是直接给出结论。而文中则以平衡因子为出发点,揭示了不同树形的一致性算法,第一次以数学公式推演,论证了AVL插入和删除操作在不同树形情况下,哪个节点开始失去平衡,怎么平衡以及哪个节点平衡结束,并给出算法的完整实现代码,使AVL的实现一致、简单、易懂。AVL tree, also known as a balanced binary tree,named after its inventors G. M. Adelson - Velsky and E. M. Landis. As a common data structure, it is described in detail the realization of the algorithm in many textbooks,but based on different tree shape LL,RR, LR, RL are given the corresponding logic, and conclusions are given directly. The balance factor for this article was the starting point, revealing the coherence of different tree algorithm, the first mathematical formula to deduce, demonstrates the AVL insertion and deletion in different tree shape, the node which started to lose balance and how balance and which end of the balance node,and gives a complete code for the realization of the algorithm.
分 类 号:TP311.12[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28