搜索资源列表
hufuman
- 能建立哈弗曼树并未且可以为各个叶子结点编码-Can be established and can not哈弗曼tree for each leaf node encoding
ll(1)fenxi
- 本程序是采用的LL(1)方法进行的语法分析,而LL(1)的分析方法是属于自上而下的方法。 自上而下分析的基本思想是:对任意输入串,试图用一切可能的方法,从文法开始符号(根结点)出发,自上而下为输入串建立一棵语法树。从推导的角度看,它是从文法的开始符号出发,反复使用各种产生式,寻找与输入串匹配的推导。 在输入之前必须要进行该文法是不是LL(1)文法的判断,然后再构造相应的LL(1)分析表来用预测分析方法进行语法分析,依据下面的文法及分析表来设计程序实现预测分析的分析过程。
yufashu-Node
- 写一个编译器必须建立语法树,以下是建立语法树时时所用的基本节点。-To write a compiler syntax tree must be established, the following is a syntax tree from time to time used to establish the basic nodes.
Hoffmanndecoder
- 从键盘输入若干字符及每个字符出现的频率,将字符出现的频率作为结点的权值,建立哈夫曼树,然后对各个字符进行哈夫曼编码,最后打印输出字符及对应的哈夫曼编码。-From the keyboard characters and each character appear frequency, the frequency as characters of weights, build node tree, then hoffmann for each character coding hoffmann l
removeRBTee
- 在VC++6.0编译器环境下完成红黑树的删除,基于C++源码的编程 直接新建满足条件的红黑树,然后删除选定的结点-In VC++6.0 compiler environment to complete the removal of red-black tree, based on C++ source code directly to the new programming to meet the conditions of the red-black tree, and then delete
