搜索资源列表
Chap 5 Tree
- 书籍源代码,关于树的代码
antlr-2_7_0.zip
- Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
shiyan2-a
- 这是一个用来生成表达工的值的程序 它可以输入8进制或十进制的数 建立一棵语法树 并返回表达式的值-This an expression used to generate value for the procedures it can be imported or 8 band of a few decimal establish a syntax tree and return to the value of the expression
BottomUpParser
- (1)可选择不同的规则集(用普通文本文件存贮规则)。 (2)利用VC TreeCtrl控件显示分析得到的句法结构树。 (3)中间分析过程产生的所有边都输出到结果文件,便于跟踪分析的细节。 (4)分析过程中,检索规则集中的规则,查到一条满足条件的规则就停止,因而产生的不是全部分析结果,并且,规则的顺序也会对分析结果有影响(可比较两个规则文件,其中规则内容一样,但有两条规则的顺序不同,在分析 “学习/verb 文件/noun” 这样的例子时结果就不同: -(1)
zhou_tree
- 汇编程序,输入一组数字,生成二叉树,再进行前序,中序,后序三种遍历。含错误检测。-assembler, the importation of a group of figures, generating a binary tree, and before ordering, which sequence, after three traversal sequence. With error detection.
Delphi精选
- 基于Delphi的,用于前台产生BOM树状结构的递归过程-based Delphi, prospects for the tree structure generated BOM recursive process
南京市部分公交转车系统
- a)需求分析: 任务:建立南京主要公交线路图。 要求:输入任意两地点,给出最佳的乘车线路和转车地点。 b)概要设计: 本程序所使用的数据结构是树和线性表,所使用的算法主要有堆排序、赫夫曼算法。 -a) Requirements Analysis : Mandate : the establishment of the Nanjing main transit route map. Requirements : 2 importation arbitrary locations
统计英文文章的字符个数并huffman编码
- a)需求分析: 任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码; 要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现; b)概要设计: 本程序所使用的数据结构是树和线性表,所使用的算法主要有堆排序、赫夫曼算法。 -a) Requirements Analysis : Mandate : an article in English, statistics of the number of characters to achieve Huffma
图书馆V2
- 一个采用B-树数据结构制作的图书馆管理程序,功能较简单,适合大学生数据结构参考使用-use a B-tree data structures produced by the library management procedures and functions than simple data structure suitable for college students to use reference
200561674082801
- 我最近的作业,是二叉树的基本操作,新手,各位多多关照。-my recent operations, a binary tree is the basic operation, and newcomers, to take care of you.
tiger
- Tiger语言的一种编译器,在大学CS课程必做的,不过可惜的是没有完全完成,做好了词法语法分析,以及IR树的生成.-a language compiler, CS courses at the university will do, but it is a pity not to be completed, well, syntax analysis, and IR tree generation.
mclolor
- 用VC写的一个小程序,用数组代替解空间树,可以实现图用m种颜色着色的问题。-VC write a small program used to solve the spatial array to replace the tree, can achieve a map m colors coloring problems.
综合实验哈夫曼编码
- 1.n个叶结点,权分别为w1,w2,• • • ,wn的二叉树中,带权路径长度WPL最小的二叉树叫最优二叉树, 也叫霍夫曼树。 2.霍夫曼算法:1)根据给定的权值{w1,w2,• • • ,wn}构造n个二叉树F={T1,T2,• • • ,Tn}每个Ti只有一个根结点,权为wi。2)在F中选取两棵根结点的权值最小的树 构成一棵新的二叉树,其根的权值为左右子树根的权值的和。3)F中删去这两棵树,加上新得
datastr
- 数据结构 array.h: 安全数组,可自动增长大小(随机访问,但扩充时效率低) linkedlist.h: 普通链表(可随机访问,但访问效率低) dclinkedlist: 双向循环链表(不可随机访问,但插入、遍历的效率都比普通链表高) hashtable.h: 哈希表(使用键值标识元素,键值一样的元素即认为相等,需重载 == 运算符并由用户定义哈希函数) binstree.h: 二叉搜索树(需重载 == 和 < 运算符) avltree.h: AVL 树(
CreateTree
- 关于树型结构的一个递归函数处理方法.要使用可以进一步处理.-on the tree structure of a recursive function approach. To use can be further processed.
shortpath-ron
- C实现二叉排序树的各种算法,了解数据结构中的树。-C fork order to achieve two tree algorithms, understanding of data structure of the trees.
huffman.c
- 哈弗曼树构造算法。通过输入字符串构造哈弗曼树,生成哈弗曼编码(Huffman tree construction algorithm. The input string Huffman tree structure, generating Havermann encoding)
06_ConstructBinaryTree
- 根据树的前序遍历结果和后序遍历结果,构造一颗完整的树并输出(Constructing tree by preorder traversal and preorder traversal of tree)
薛氏_创建树形框列表
- 易语言树型框列表模块源码 薛氏_创建树形框列表(Easy language tree box list module source sylvi _ creating tree box list)