搜索资源列表
分形----------------羊齿叶
- 分形--- ----羊齿叶 不错的-reaching back to the good leaf
综合实验哈夫曼编码
- 1.n个叶结点,权分别为w1,w2,• • • ,wn的二叉树中,带权路径长度WPL最小的二叉树叫最优二叉树, 也叫霍夫曼树。 2.霍夫曼算法:1)根据给定的权值{w1,w2,• • • ,wn}构造n个二叉树F={T1,T2,• • • ,Tn}每个Ti只有一个根结点,权为wi。2)在F中选取两棵根结点的权值最小的树 构成一棵新的二叉树,其根的权值为左右子树根的权值的和。3)F中删去这两棵树,加上新得
二叉树高度和叶子节点数
- 这是一个用来实现二叉树高度和叶子节点数的程序-This is a binary tree used for height and leaf nodes procedures
Wangmeng_qiche360
- java制作360度全景叶面的源码和脚本-produced a 360-degree panoramic leaf scr ipt and the source
二叉树的类实现
- 二叉树的一般操作: 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
yezi
- 利用非递归的后序遍历求二叉树的叶子结点个数-use of non - recursive after preorder for the binary tree leaf node number
产生huffman编码
- huffman产生哈夫曼编码的源代码. ... generate huffman code //i present the i th code, j present from leaf to root in huffman tree //hfdata ... 第3 楼 一种思想。-Huffman coding produce the source code. Generate Huffman code ... / / i present the i th code, j present from
depth
- 构造二叉树,并求叶子节点的个数和该二叉树的深度。-Construct a binary tree, and find the number of leaf nodes and the binary tree of depth.
VA999
- 是個能夠做附力葉分解動作相當有用的一套程式碼希望能有所幫助-Is a force can do is attached leaf decomposition action of a set of very useful code hope to be helpful
binarytree
- 二叉树的操作,程序采用递归可进行树的遍历,求叶子节点的个数,交换左右子树等操作-Binary operation, the procedure can be carried out using recursive tree traversal, and the number of leaf nodes, exchange and other operations around subtree
BFS_CUDA
- 用CUDA实现BFS算法源码。CUDA是NV公司基于GPU的统一计算架构,BFS复杂度由CPU上的O(V+E)降为O(diameter),直径diameter即图中root到leaf的最长距离。-This is the algorithm of BFS(breadth first search) on CUDA, and its time complexity is down to O(diameter) which diameter means the longest distance bet
hufuman
- 能建立哈弗曼树并未且可以为各个叶子结点编码-Can be established and can not哈弗曼tree for each leaf node encoding
Cpp1
- 二叉树的链式存储,以及使用链式存储统计叶子结点个数-Binary tree chain store, chain store statistics and the use of the number of leaf nodes
hafuman
- 哈夫曼编码为实现哈夫曼编码,先构造哈夫曼树。哈夫曼树的每个节点都存有该节点的信源符号,概率,双亲节点,左孩子节点和右孩子节点。每个节点的概率为该节点左孩子节点和右孩子节点的概率之和。每次选取概率最小的两个节点作为左右孩子节点,直到把所有的数据都整合到哈夫曼树中。每个原始数据都处于叶子节点的位置。-Huffman coding Huffman coding to achieve the first Huffman tree structure. Huffman tree for each node
operating-system
- 计银行家算法,void FCFS(int Han,int DiscL[]) //先来先服务算法(FCFS) void SSTF(int Han,int DiscL[]) //最短寻道时间优先算法(SSTF) int SCAN(int Han,int DiscL[],int x,int y) //扫描算法(SCAN) void CSCAN(int Han,int DiscL[]) //循环扫描算法(CSCAN) void N_Step_SCAN(int Han1,int DiscL
leaf
- 用汇编语言实现折半查找算法的运作,是大学汇编语言设计课程的内容,有需要的下载吧-The operation of the binary search algorithm implemented in assembly language, is the the University assembly language design course content, there is a need to download
Huffman-coding-and-decoding
- 在从键盘上输入字符时,只要是键盘上的字符任何字符都能接受,并能统计出输入的一串字符串中各个字符出现的次数,作为构建哈夫曼树时的各叶子结点的权值。 本程序同时具有译码功能 -Character input from the keyboard, as long as any of the characters in the character on the keyboard can be accepted, and the statistics of the number of occurr
bintree
- 关于二叉树的插入,先序遍历,后序遍历,中序遍历,叶子节点个数,树的深度,路径查找。-Binary tree insertion, preorder, postorder traversal, preorder, the number of leaf nodes, the depth of the tree, the path to find.
tree
- 树的相关操作,先序遍历建立二叉链表,左右孩子交换,二叉树中叶子节点个数算法,统计以值为x的结点为根的子树中叶子结点的数目,按树状打印二叉树-Tree-related operations, first traversal establishment of binary list, so the child exchange, the number of leaf nodes in a binary tree algorithm, the statistical value of x to a n
Desktopf
- 从输入的二叉排序树中删除一个结点。通过考虑该节点分别是叶节点,或只有左子树或右子树,或左右子树全不为空的状况-From the input binary sort tree to remove a node. By considering the node is a leaf node, respectively, or only a left subtree or right subtree, or left and right subtrees whole situation is not