搜索资源列表
Huffman 算法的不同实现
- ---- Huffman 算法的不同实现 本目录下的程序用8种不同的方式实现了Huffman编码算法,这8种方式分别是 * huffman_a 使用链表结构生成Huffman树的算法,这是最基本的实现方法,效率最低。 * huffman_b 使用《数据结构》(严蔚敏,吴伟民,1997,C语言版)中给出的算法,将二叉树存放在连续空间里(静态链表),空间的每个结点内仍有左子树、右子树、双亲等指针。 * huffman_c 使用Canonical
SA04225140_NO5
- 红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#define NUM 10 ,改成相应关键值各个数输出:按照先序输出红黑树,格式为:根节点。颜色(左子树。颜色,右子树。颜色),并输出此 树的黑高度,然后输入要删除的关键值,按回车后输出删除后的结果,并输出其高度。-RED-BLACK TREE : Admission : in the same directory under the file
Huffman
- 本目录下的源代码均属示例、教学性质。作者不对这些代码的功能和性能作任何担保或承诺。 -------- 功能说明 -------- 本目录下的程序用8种不同的方式实现了Huffman编码算法,这8种方式分别是 * huffman_a 使用链表结构生成Huffman树的算法,这是最基本的实现方法,效率最低。 * huffman_b 使用《数据结构》(严蔚敏,吴伟民,1997,C语言版)中给出的算法,将二叉树存放在连续空间里(静态链表),空间的每个结点内
Haffmancode
- 课程设计: 1.求出在一个n×n的棋盘上,放置n个不能互相捕捉的国际象棋“皇后”的所有布局。 2.设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 1) 将权值数据存放在数据文件(文件名为data.txt,位于执行程序的当前目录中) 2) 分别采用动态和静态存储结构 3) 初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; 4) 编码:利用建好的哈夫曼树生成哈夫曼编码; 5) 输出编码; 6)
shenduyouxiansuanfa
- 用于树目录或图层的深度优先算法,用C #编写-Directory for the tree depth-first algorithm, written using C#
guangduyouxiansuanfa
- 用于遍历树目录的广度优先算法,用C#编写-Used to traverse the tree breadth-first algorithm, written using C#
9_23
- 关于目录树的用法,本程序展示目录树的显示。-On the usage of the directory tree, the program displays the directory tree display。
erchashu
- 数据结构 二叉树的基本操作实现 遍历文件夹并建成目录树,一个较好的遍历程序,对系统所有的文件获取做了比较详细的说明。程序在2000下通过。-Bi tree typedef struct bitree char data struct bitree*left,*right basic use of tree create init queue push queue empyt. hope you like it.
memory-management-in-filesystem
- 基于二叉树的结构实现了树形目录结构的文件管理系统和文件操作。-Binary tree structure based on the directory tree structure to achieve a document management system and file operations.
sxml
- 本课程设计目的是实现树型目录结构文件系统,本人在实现过程中也利用二叉树, 其中每个节点都有父指针,子指针和兄弟指针,其中子指针指向该目录下的第一个子节点,而该子节点的父指针则指向它的上级目录。目录下各子节点用兄弟指针连接起来。 文件夹打开是则把文件夹名称及其地址压入打开文件夹栈,文件关闭则把文件夹名称及其地址从打开文件夹栈中抛出。 -This course is designed to achieve the directory tree structure, file system
4
- B+树用以进行排序,建立检索表,进行一定范围的数据的查找,和文件目录下文件的管理,提高检索的速度-B+ tree for sorting, the establishment of keys, to find a range of data, files and file directory management and improve the speed of retrieval
SortedBinaryTree
- 数据结构二叉树,子类二叉排序树,实现一个小的电话目录功能-Data structures binary tree, the subclass of binary sort tree, a small telephone directory
Matlab-algorithm-important
- 本压缩包包括matlab的顶点覆盖近似算法、哈密尔顿回路、模拟退火应用、最大流和最小截、最短路和次短路、最短路径、最小生成树prim算法等,带有源程序和中文说明文档,此文件夹中的文件,如需被利用,则要直接放至work目录下。-The compressed packet including matlab vertex cover approximation algorithm, Hamilton circuit, simulated annealing, maximum flow and mini
Dirtree
- 目录树,数据结构实现二叉树以及按照树来搜索路径-Directory tree data structure is a binary tree, and the tree search path
ten-algorithm
- 目录 1,搜索算法; 2,贪心算法; 3,动态规划; 4,最短路径; 5,最小生成树; 6,二分图的最大匹配; 7,-Contents 1, the search algorithm 2, the greedy algorithm 3, dynamic programming 4, the shortest path 5, the minimum spanning tree 6, maximum bipartite matching 7, ...
Decision_Tree
- 使用Decision Tree计算出基于文本的信息分类,在D盘下创建data.txt文件可以导入,或者自行修该文件导入目录。-Using Decision Tree to calculate the text-based information classification, create a data.txt file under the D drive can be imported, or self-repair the file into the directory.
