搜索资源列表
判断是否为ll(1)文法程序
- 一个程序,用于判定给定的文法是否为LL(1)文法。 实现了:1.文法的机内表示;2. FIRST集和FOLLOW集的计算; 3. LL(1)预测分析表的构造。-a procedure for the determination of grammar to whether LL (1) grammar. Realized : 1. Grammar said the machines; 2. FIRST FOLLOW sets and set computing; 3. LL (1) Forecas
预测分析
- //预测分析程序(原创) //用于判断输入的字符串能否别文法识别-/ / Forecast and Analysis (original) / / input for the judgment of the string can identify other grammar
操作系统语法分析
- 操作系统中的语法分析,主要是判断语言是否合乎语言规范-operating system syntax analysis, the main language of judgment whether the language norms
LL(1)分析的实现
- 编译中的LL(1)分析方法的实现。对于输入的文法,判断其有效性,用LL(1)方法进行语法分析,并可判别输入的符号串是否为该文法的句型。 -compiler of LL (1) Method of analysis. The importation of the grammar, to judge its effectiveness, with LL (1) methods for syntax analysis, discriminant can input strings of symbols
判断素数的个数
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 -judgment 101-200 between the number of primes, and the export of all prime numbers. 1. Program Analysis : judgment in several ways : with a few were t
时间序列分析VC源码
- 时间序列分析,分析序列是否是 白色噪声,分析相关性,可以进一步判断序列的相关和自相关-time series analysis, whether the sequence is white noise, correlation analysis, further sequence of judgment and autocorrelation
简易语法分析程序LL
- 简易语法分析程序LL(1) (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型-simple syntax analysis procedures LL (1) (a) on the importation of grammar. it will determine whether to LL (1) grammar, a
算符优先分析法
- 算符优先分析法 根据算符优先分析法,将表达式进行语法分析,判断一个表达式是否正确。 文法:E→E+E E-E E*E E/E (E) i- The operator first analytic method basis operator first analytic method, carries on the expression the grammar analysis, judges an expression is whether correct. Grammar: E ->
词法分析2004328831139
- 前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧-few days ago wrote a small language lexical analysis procedures, because th
实验二:ll1语法判断
- 实验二:LL1语法判断 自定义一个文法集,输入文法产生式,计算文法的FIRST,FOLLOW和SELECT集合, 利用SELECT集合构造预测分析表,接着用预测分析程序,栈 和预测分析表对输入串进行分析,给出分析过程-Lab two: The LL1 grammar judgment from defines a grammar collection, the input grammar production pattern, computation grammar FIRST, FOL
分析程序
- 语法分析程序,包括对任意输入LL(1)文法的分析表及字符串,本程序能自动判断所给字符串是\" 否为该文法的句子,并能给出分析过程。-syntax analysis procedures, including the indiscriminate importation of LL (1) grammar analysis table and string, the procedure can automatically determine to a string of "whether
层析分析法
- 用于解决层次分析能解决的问题,只要输入判断矩阵,所有结果都会显示出来(analytical hierarchy process)
层次分析
- 层次分析法matlab实现 clc,clear fid=fopen('txt3.txt','r'); n1=6;n2=3; a=[]; for i=1:n1 tmp=str2num(fgetl(fid)); a=[a;tmp]; %读准则层判断矩阵 end for i=1:n1 str1=char(['b',int2str(i),'=[];']); str2=char(['b',int2str(i),'=[b',in
层次分析法
- 对不同的因素进行层次分析决断,更好的通过主观判断得出希望的结果(Make analytic decision on different factors, and get better result through subjective judgmen)
频谱分析
- 对数字信号快速傅里叶变换分析,通过频率的大小来判断信号所处的阶段(Fast Fourier transform analysis of digital signals, the frequency of the size of the signal to determine the stage)
判断素数
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。(Determine how many primes are there between 101-200 and output all the prime numbers. 1. program analysis: the method of judging the prime number: 2 t
图像二值化判断分析法
- 编写实现了图像二值化中一种常用的方法——判断分析法。并使用开闭运算进行了二值化图像改进(It is a common method that can realize binaryzation, the judgment analysis method. And use open and closed operation to improve the image.)
外汇日内短线分析工具
- 判断外汇日内短线分析工具,做出决策交易系统分析,对短线交易者有帮助!(To judge the short-term analysis tools of foreign exchange.)
01 层次分析法
- 输入判断矩阵A,通过matlab程序判断矩阵,一次性检验(Input judgment matrix A, judge matrix by MATLAB program, one-time test.)
情感分析
- 基于旅游网站的用户评论,对其进行情感评分,用于情感分析,判断用户此条评论的情感高低。(Based on the user's comments of the travel website, the emotional rating is used for emotional analysis to judge the emotional level of the user's comments.)