搜索资源列表
ThreadedBitree
- 线索二叉树 包括了类声明,创建树,插入节点,删除树等操作。-clues, including a binary tree type statement, create tree node insert, delete, etc tree.
LevelOrderTraverse
- 从键盘输入二叉树的节点数据建立二叉树,然后中序遍历-keyboard input from the binary tree data to establish binary tree node, which then preorder
erchatree
- 根据数据文件内的数据对二叉树进行操作。分别完成:二叉树节点数据的插入、删除、查找和打印输出等功能。-basis of the data within the data file to binary tree operate. Completed : binary tree node data insert, delete, search and print capabilities.
二叉树的类实现
- 二叉树的一般操作: 1. 判断二叉树是否为空。 2. 搜索二叉树中的某一项。 3. 在二叉树中插入一项。 4. 从二叉树中删除一项。 5. 求二叉树的高度。 6. 求二叉树的节点数量。 7. 求二叉树的叶节点数量。 8. 遍历二叉树。 9. 复制二叉树。 -binary tree : 1. To judge whether the binary tree is empty. 2. Binary Tree Search of a one. 3. The in
ThBSTree
- 线索二叉搜索树结点的插入删除以及树的打印。-clues two forks search tree node of the tree to insert, delete and print.
myDragTreeCtrl
- 此程序中实现了树型控件节点拖动的功能,编译运行于VC++环境中-this program achieved a tree node controls the scrolling function, compiler runs on VC + + environment
xianxuxunhuan
- 二叉数先序循环的非递归实现,一般先序循环都是由递归实现的,按照完全二叉树格式输入字符型结点值-binary sequence a few first cycle of non - recursive, the general first order recursive cycle are achieved, In accordance with the format completely binary tree node input character values
Twoforktrees
- 二叉树操作,掌握指针变量的含义,二叉树的结构特征,以及各种存储结构的特点及使用范围;指针类型描述、访问和处理二叉树的运算。程序1: 按先序次序输入二叉树中结点的值(一个字符),`0`表示空树,生成二叉树的二叉链表存储结构, a为指向根结点的指针。然后按中序顺序遍历二叉树。算法思想:先访问左子树,再访问根结点,最后访问右子树。-binary tree operation, grasp the meaning indicator variables, binary tree structure, a
erchashu111
- 该程序是我的实验作业,二叉树中两结点最近的共同祖先-the procedure is experimental operation, the two binary tree node recent common ancestor
work2z
- 图论算法库 C++ 语言实现 代码内容 图论算法库,包括以下算法: 单源最短路径 Dijkstra 算法 单源最短路径 Bellman-Ford 算法 最小生成树 Prim 算法 每对节点间最短路径 Flod-Warshall 算法 语言 C++ 编译平台 VisualAge C++ 4.0 作者 starfish (starfish.h@china.com) 备注 程序用C++语言编写,在VisualAge C++ 4.0下调试通过。压缩包内的Graph.h文件包含所有的库函数,其调用接口见程
tree
- 树 数据结构中树的代码。Node为不同的类型,故此成为异质树
avl_tree
- 1.本程序由本人采用vc++ 6.0编写,包括了排序平衡二叉树的整套算法(包括插入、删除、查找以及其测试算法)。 2.运行myavl_vc.exe输入树的初始结点个数,确定后本程序将在内存中生成一棵相应结点数的二叉树,在此基础上你可以进行各种操作(插入、删除、查找以及测试其平衡性、排序性等) 3.每一个结点信息包括\"商品编码\"、\"商品名称\",且以\"商品编码\"作为关键字 4.初始生成的树的结点的商品编码为从1按顺序递增,商品名称为\"生成的商品\"加上商品编码 5.程序中的随
拖拉树节点的例子
- 拖拉树节点的例子拖拉树节点拖拉树节点的例子的例子-drag tree nodes example tractors drag tree node tree nodes example examples
BTree.二叉树的递归算法
- 二叉树的递归算法:计算高度、结点个数、交换左右儿子 问题的描述 写一完整函数,计算树的结点数目int CountNode(BTNode<T>* &t); 完善以下两个函数: 计算树的高度int Depth(BTNode<T>* &root); 对树的所有子树交换左右孩子void swapsons(BTNode<T>* &t);,Binary Tree Recursive Algorithm: Calculate the hei
CPropertyGrid
- 用来设置树形节点的属性框控件,VC++源代码,希望对大家有所帮助-Used to set the tree node properties box control, VC++ source code, we hope to help
CTreeCtrlXML
- CTreeCtrlXML能直接将树节点序列化为XML,完成读写功能-CTreeCtrlXML tree node can be directly serialized XML, complete read and write capabilities
treelist.rar
- 用树状列表制作了书目录一步步展开的树状节点,并可以添加目录,Using the tree has produced a book list, step by step to start the directory tree node, and can add directory
mfc_treeCtrl
- MFC上实现tree结构,并响应tree节点事件-MFC tree structure, and respond to the tree node event
QuadTree
- 从文件读取四叉树结点,按照morton码对四叉树进行编码-Read from the file quadtree node, in accordance with morton yards on the quad-tree coding
myTree
- MFC写的一个程序,实质主要是二叉排序树的显示,树的节点是学生的成绩段信息。视图左边各种操作,添加删除节点,查找统计,文件的保存和读取。右边是树的显示,包括节点移动,右键弹出相关信息等。分割窗口,滚动条,视图缩放等。-A program written in MFC, the real key is the display of binary sort tree, the tree node is the information section of student achievement. V