搜索资源列表
30132160472
- 现在要对一棵二叉树的节点进行染色。每个节点可以被染成红色、绿色或蓝色。并且,一个节点与其子节点的颜色必须不同,如果该节点有两个子节点,那么这两个子节点的颜色也必须不相同。给定一棵二叉树的二叉树序列,请求出这棵树中最多和最少有多少个点能够被染成绿色。-Now to node of two binary tree were stained. Each node can be dyed red, green or blue. Moreover, a node and its child nodes m
BiTree
- 编程实现二叉树的a建立,b/c先序、中序、后序、层序遍历(递归和非递归方法),d二 叉树的高度、e繁茂度,f交换左右子树,g统计叶子节点的数目,h判断是否为完全二叉树, i按树的形态在屏幕上打印输出。 [基本要求] (1) 从文件中读入建树信息,树的节点数目不小于20个,树的高度不小于4。 (2) 建树信息采用两行英文字符表示,每个英文字符代表一个结点,第 1 行为树的 中序遍历结果,第 2 行为树的后序遍历结果。-Programming a binary tree
countleaves
- C++实现族谱树构建且实现查找没有孩子的节点数量。-A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.
binary-tree
- 由c/c++写的二叉树的常见操作,比如:树的建立、计算树的深度、计算树的叶子节点-Storage and realization of a binary tree
octree_search
- 八叉树(Octree)的定义是:若不为空树的话,树中任一节点的子节点恰好只会有八个,或零个,也就是子节点不会有0与8以外的数目。-Definition octree (Octree) is: If the tree is empty, then any tree node s children will have exactly eight, or zero, that is, the number of child nodes 0 and 8 will not have outside.
TreeCtrl_Colo
- 该示例为树控件每个节点设置字体以及颜色,以及数控件应用实例。-Setting color and font attribute for individual items in tree control
GDItree
- 该系统实现了根据节点绘制树状结构的图形,该系统实现了根据节点绘制树状结构的图形。-The system achieved under the tree node to draw graphics, the system implements a tree structure based on the node drawn graphics.
binary-tree
- 二叉树是每个节点最多有两个子树的树结构。通常子树被称作“左子树”(left subtree)和“右子树”(right subtree)。二叉树常被用于实现二叉查找树和二叉堆。-Enhanced JFS2 uses a binary tree representation while performing inode searches, which is a much better method than the linear method used by JFS.
huffman
- 霍夫曼编解码,采用构造霍夫曼树进行编码;构造好霍夫曼树后解码的过程就比较简单了;只需通过霍夫曼树找到相应的叶子节点即可解码-Hoffman codec used to encode structural Huffman tree good Huffman tree structure after decoding process is relatively simple just find the leaf node can be decoded by the Huffman tree
R-tree
- 实现算法中的R树, 1.根节点若非叶子节点,则至少有两个子节点; 2.每个非根叶节点和非叶节点包含的实体个数均介于m和M之间; 3.所有叶子节点在同一层次;-The R-tree algorithm, a. If not the root leaf nodes, there are at least two child nodes 2. The number of entities for each non-root and leaf nodes are non-leaf node
AVL
- AVL树是最先发明的自平衡二叉查找树。在AVL树中任何节点的两个儿子子树的高度最大差别为一,所以它也被称为高度平衡树。查找、插入和删除在平均和最坏情况下都是O(log n)。增加和删除可能需要通过一次或多次树旋转来重新平衡这个树。-AVL tree code
erchashu
- 采用数组的方法,可以输入任意二叉树,并将全部二叉树的节点及其儿子输出-The method uses an array, you can enter any binary tree, and all the binary output node and son
LeftChild-RightChild
- 用二叉树的LeftChild-RightChild表示法存储二叉树,每个节点所含数据元素均为单字母,试编写按树状打印二叉树的算法.是学习数据结构很好的例子-Storing binary notation using binary tree LeftChild-RightChild, each node contains data elements are single-letter, written by the test print binary tree algorithm. Is a go
erchashu
- 对于二叉树的简单操作,创建,删除节点-For simple binary tree, create, delete nodes, etc.
binary-tree
- 用C语言实现的二叉树的创建、添加节点、删除节点、递归和非递归遍历以及层次遍历-Using C language to create two fork tree, add node, delete node, recursive and non recursive traversal and hierarchical traversal
FaultTree
- 可是实现故障树的绘制,撤销节点,增加节点-But to realize the fault tree, revocation of node, add nodes
FileTree
- duilib 修改版自绘树控件,支持多个无限节点,拖拽等动能-Duilib modified version of the self painted tree controls, support for multiple unlimited nodes, drag and other kinetic energy
chaoliujisuan
- 本程序适用于全部开式网络,包括树状网络(任意数量母线节点),且可以任意设置迭代次数 程序开始前先在linedata.txt及busdata.txt内分别输入线路信息及母线信息 线路信息输入顺序为 始节点 末节点 电阻 电抗 导纳(若为变压器则为0) 变压器空载有功损耗(为输电线则为0) 变压器空载无功损耗(输电线为0) 变比(输电线为1) 母线信息输入顺序为 节点 电压(初始未知电压为额定电压) 母线有功功率(无负荷设为0) 母线无功(无负荷设为0) 母线类型(电
hehe
- 这是二叉树的一些基本操作,有二叉树的建立、节点的删除和查找,排序等常用的功能。-These are some of the basic operations of a binary tree, there are common features delete and search, sort and other binary establishment nodes.
DynamicTree
- Android树,点击一个节点,去拿数据,拿到数据更新树。-Android tree, click on a node, get data, get data update tree.