搜索资源列表
-
0下载:
递归下降分析法 是编译原理课程设计的源代码 可用来研究递归下降算法-decline recursive analysis is to compile the curriculum design principle source code can be used to study decline recursive algorithm
-
-
0下载:
算法与分析设计习题中,陈列馆机器人设置问题,迭代递归算法实现。-algorithm design and analysis of the questions, robot exhibition hall set up, recursive iterative algorithm.
-
-
0下载:
LL(1)分析法
1、LL(1)分析法的功能
LL(1)分析法的功能是利用LL(1)控制程序根据显示栈栈顶内容、向前看符号以及LL(1)分析表,对输入符号串自上而下的分析过程。
2、LL(1)分析法的前提
改造文法:消除二义性、消除左递归、提取左因子,判断是否为LL(1)文法,
3、LL(1)分析法实验设计思想及算法-LL (1) an analysis, LL (1) Analysis of the functional LL (1) Analysis of the fun
-
-
0下载:
这个小程序是算法设计与分析方面的,求解背包问题,用的是递归设用的方法,本程序不是本人做的,朋友做的,可以拿来参考一下,不要抄袭,本人尊重版权朋友.-this is a small program algorithm design and analysis, problem solving backpack, it was established with the recursive method, the procedure is not my doing, friends do, can be
-
-
1下载:
采用递归下降语法制导翻译法,对算法表达式、赋值语句进行语义分析且生成四元式序列-Decline in the use of recursive grammar-translation method guided the algorithm expression, assignment and semantic analysis to generate quaternary sequence
-
-
0下载:
一、 pl0文法:适用于递归下降分析算法-A, pl0 grammar: for analysis declined recursive algorithm
-
-
0下载:
使用递归子程序法设计一个语法分析程序,自顶向下分析方法.
1、使用递归下降分析算法分析表达式文法:
exp ::= exp addop term | term
addop ::= + | -
term ::= term mulop factor | factor
mulop ::= * | /
factor ::= (exp) | number
其中number可以是多位的十进制数字串(整数即可),因此这里还需要一个小的词法分析器来得到number的值。
2、该
-
-
0下载:
为了进一步提高直接序列/跳频(DS/FH)扩频系统的抗干扰能力,基于小波包变换结合递归最小二乘算法设计
了一种变换域自适应干扰抑制算法,该算法采用小波包分解定位窄带干扰,递归最小二乘算法抑制窄带干扰。通过蒙特卡
罗仿真分析在增加抗干扰模块后,DS/FH系统工作在准静态时,在不同信噪比条件下抗窄带干扰性能。仿真结果表明:该
算法具有较强的自适应性以及抗窄带干扰能力,其性能优于传统的直接置零法,适用于多音干扰下的恶劣通信环境。-In order to further improve th
-
-
0下载:
利用分治法,写一个二分检索的递归算法,在计算机上编程实现,同时进行时间复杂性分析。(要求用递归方法实现)-Divide-and-conquer method, write a recursive algorithm to retrieve a dichotomy, computer programming, and simultaneously the time complexity of the analysis. (Using recursive method to achieve)
-
-
2下载:
设计一个四则表达式分析软件,其接受从文件或键盘输入的四则表达式(运算对象支持整数和变量),给出该表达式的二叉树表达形式,并在键盘上按后续遍历方式输出该二叉树。
例如,输入a+b*c,输出 a b c * +
提示:参考下列的设计指导:
递归下降分析法实验设计思想及算法
为G的每个非终结符号U构造一个递归过程,不妨命名为U。U的产生式的右边指出这个过程的代码结构:
(1)若是终结符号,则和向前看符号对照,若匹配则向前进一个符号;否则出错。
(2)若是非终结符号,
-
-
0下载:
这是一个用C语言写的C-minus编译器。实现了词法分析,语法分析。其中语法分析用的是递归下降算法。-
这是一个用C语言写的C-minus编译器。实现了词法分析,语法分析。其中语法分析用的是递归下降算法。
ON划词翻译ON实时翻译
This is a C language used to write the C-minus compiler. The lexical analysis, syntax analys
-