文件名称:avt
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 254kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.本程序演示平衡二叉树的插入,删除,查找,。
2.首先要先初始二叉树为空树;
3.接着要实现平衡二叉树的插入,删除,,其中根据平衡二叉树插入,删除的算法要不停的把插入的元素平衡地插入,需要调用平衡分析函数和左右旋转函数,更新平衡二叉树;删除元素后也要调用平衡分析函数和左右旋转函数,更新平衡二叉树。
4.平衡二叉树的查找则可根据查找算法实现。比较简单。-1. This procedure demonstration balanced binary tree insertion, delete, find,. 2. First of all, the initial first binary tree is empty tree 3. And then to achieve a balanced binary tree insertion, deletion, which under the balanced binary tree insertion, deletion of the algorithm to keep the inserted element balanced insertion, the need to call about a balanced analysis of function and rotating functions, balanced binary tree update delete elements have to call after the balance analysis functions and rotation function, update the balance tree. 4. Balanced binary tree can be the basis of the search algorithm to find. Relatively simple.
2.首先要先初始二叉树为空树;
3.接着要实现平衡二叉树的插入,删除,,其中根据平衡二叉树插入,删除的算法要不停的把插入的元素平衡地插入,需要调用平衡分析函数和左右旋转函数,更新平衡二叉树;删除元素后也要调用平衡分析函数和左右旋转函数,更新平衡二叉树。
4.平衡二叉树的查找则可根据查找算法实现。比较简单。-1. This procedure demonstration balanced binary tree insertion, delete, find,. 2. First of all, the initial first binary tree is empty tree 3. And then to achieve a balanced binary tree insertion, deletion, which under the balanced binary tree insertion, deletion of the algorithm to keep the inserted element balanced insertion, the need to call about a balanced analysis of function and rotating functions, balanced binary tree update delete elements have to call after the balance analysis functions and rotation function, update the balance tree. 4. Balanced binary tree can be the basis of the search algorithm to find. Relatively simple.
相关搜索: 平衡二叉树
(系统自动生成,下载前可以参看下载内容)
下载文件列表
平衡二叉树
..........\Debug
..........\PHECS.cpp
..........\PHECS.dsp
..........\PHECS.dsw
..........\PHECS.exe
..........\PHECS.ncb
..........\PHECS.opt
..........\PHECS.plg
..........\平衡二叉树.doc
..........\Debug
..........\PHECS.cpp
..........\PHECS.dsp
..........\PHECS.dsw
..........\PHECS.exe
..........\PHECS.ncb
..........\PHECS.opt
..........\PHECS.plg
..........\平衡二叉树.doc