算法文档,做算法必备科学与工程数值计算算法(Visual C++版)
上传时间: 2015-09-16
上传用户:bjgaofei
上下文无关文法(Context-Free Grammar, CFG)是一个4元组G=(V, T, S, P),其中,V和T是不相交的有限集,S∈V,P是一组有限的产生式规则集,形如A→α,其中A∈V,且α∈(V∪T)*。V的元素称为非终结符,T的元素称为终结符,S是一个特殊的非终结符,称为文法开始符。 设G=(V, T, S, P)是一个CFG,则G产生的语言是所有可由G产生的字符串组成的集合,即L(G)={x∈T* | Sx}。一个语言L是上下文无关语言(Context-Free Language, CFL),当且仅当存在一个CFG G,使得L=L(G)。 *⇒ 例如,设文法G:S→AB A→aA|a B→bB|b 则L(G)={a^nb^m | n,m>=1} 其中非终结符都是大写字母,开始符都是S,终结符都是小写字母。
标签: Context-Free Grammar CFG
上传时间: 2013-12-10
上传用户:gaojiao1999
无线接收发送来的GPS压缩数据流,并解码出经纬度速度GPS状态等信息,与GPS无线发射程序配合使用
上传时间: 2013-12-08
上传用户:妄想演绎师
这个文件夹里共3个部分,分别是串口编程与ODBC技术结合,用API函数控制串口和用MSComm控件控制串口。
标签: 分
上传时间: 2013-12-17
上传用户:ve3344
本程序基于8051F020,目的是深入的了解SPI与SBUS技术,设计用户自己的应用系统
上传时间: 2015-12-13
上传用户:王楚楚
Expat2.0.1解析器附带了一个测试程序,位于解压后的tests目录下面。但是没有VC6工程,因此不方便在VC下的调试。因为VC6不支持__func__编译宏定义,所以变通了一下,将此信息不与输出。 有与此程序相关的问题请致信yesongldz@163.com,欢迎讨论!
上传时间: 2016-01-05
上传用户:zhouli
D-S证据理论数据融合,基于权重系数与冲突概率重新分配的证据合成方法,叶 清,系统工程与电子技术。
上传时间: 2014-12-08
上传用户:zq70996813
投票系统,有三个候选人,投票时最多选一个、可弃权也可推荐一个新人。实现总投票管理站与分头投票站信息的网络化管理,可实时显示各投票站投票情况,相关信息统计与查询查询。
标签:
上传时间: 2016-01-09
上传用户:lanjisu111
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
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