语法分析器lex和词法分析器yacc的C++语言实现 1.Lex (1)Lex输入文件的解析 (2)正规表达式的解析 (3)一个正规表达式到NFA的转换算法实现 (4)多个NFA的合并 (5)NFA的确定化和最小化算法实现 (6)返回状态与返回内容的对应 2.Yacc (1)Yacc输入文件的解析 (2)上下文无关文法到对应LR(1)文法的下推自动机的构造 (3)LR(1)文法的下推自动机到相应分析表的构造 (4)LR(1)总控程序的构造(查表程序) (5)符号表的构建与相应管理程序 (6)语义动作程序的加入 环境:Visual Studio.NET 2003
上传时间: 2013-12-09
上传用户:zxc23456789
低压电力线载波调制解调器通信运用源代码,电力猫在集中抄表中稳定使用
上传时间: 2015-11-23
上传用户:稀世之宝039
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
此程序为晓成公司的参考程序资料,比较适合做集中抄表
上传时间: 2014-01-21
上传用户:yy541071797
一款新开发的,产品远程电度表度数抄表程序。
标签:
上传时间: 2016-02-10
上传用户:dragonhaixm
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
标签: converts Toolbox complex logical
上传时间: 2016-02-12
上传用户:a673761058
1.运行于winxp 2.完整安装OFFICE XP ,OFFICE2003上以版本,宏的安全级别设置为低。程序中的宏绝对安全。 3.有自动计算工能,采用移动加权平均单价,自动计算出货成本。 4.有各自定义汇总,盘存表等功能。 5.有强大的查错功能。 6.录入界面与进销存标准帐本一致,简明易用。 7.无任何功能限制,无使用期限制,无需注册。
上传时间: 2014-01-24
上传用户:zhliu007
通用手持掌上机,处理器是80c552,用于水,电,煤气系统抄表中。
标签: 手持
上传时间: 2014-09-07
上传用户:frank1234
这是北京福星晓程公司的PL3105电力载波通信程序,在KEIL环境下开发。用于电力载波通信的应用,比如,电力载波抄表
上传时间: 2013-12-26
上传用户:jqy_china
TI官方提供的AMR,电表等自动抄表方面能用的到。
标签: AMR
上传时间: 2016-10-09
上传用户:wpt