题目:银行家算法 具体要求:屏幕提示:输入申请资源的进程和各资源数目,程序通过对预先输入的资源的矩阵分析。给出当前系统是否安全的提示,若安全,给出安全序列。
上传时间: 2015-09-06
上传用户:541657925
上下文无关文法(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
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
利用目前即时通讯工具在互联网上使用的广泛、便利、易用受欢迎的特点,结合了Java语言(Java 2 Standard Edition)的易用特点与性能优势,比如跨平台、安全性、多线程、网络Socket编程、流概念等方面,来设计基于Java虚拟机可跨平台特性的即时通讯工具,并对其体系结构、构成模块及系统关键技术进行了分析与设计。该系统具有安全、高效、实用、支持在不同系统平台运行等特点。 关键词:J2SE、即时通讯、跨平台(一次编写、到处执行)、多线程、JICQ
上传时间: 2016-02-10
上传用户:xwd2010
利用目前即时通讯工具在互联网上使用的广泛、便利、易用受欢迎的特点,结合了Java语言(Java 2 Standard Edition)的易用特点与性能优势,比如跨平台、安全性、多线程、网络Socket编程、流概念等方面,来设计基于Java虚拟机可跨平台特性的即时通讯工具,并对其体系结构、构成模块及系统关键技术进行了分析与设计。该系统具有安全、高效、实用、支持在不同系统平台运行等特点。 关键词:J2SE、即时通讯、跨平台(一次编写、到处执行)、多线程、JICQ
上传时间: 2016-02-10
上传用户:yuzsu
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
IDEA 加解密算法.然而,社会对计算机网络的高度依赖同时也蕴藏着巨大的风险。网络攻击、网络欺诈、网络犯罪将会给社会带来巨大的经济损失和秩序动荡,甚致会使整个人类社会陷入危机。因此,网络和信息系统的安全保密这一个必须解决的问题,已引起了全球社会的极大关注。
上传时间: 2016-03-13
上传用户:1159797854
P89V51RD2具有一个可编程的看门狗定时器(WDT),可用于系统故障安全保护,防止软件死锁和自动恢复。WDT在CPU落入软件运行失控的情况下可作为一种恢复的方法。P89V51RD2有两个特殊功能寄存器WDTC(地址0xC0)和WDTD(地址0x85)用于看门狗功能,有关这两个寄存器的详细注解参见
上传时间: 2016-06-12
上传用户:huql11633
为了促进数字电视产业的发展,协调、监管有线数字电视运营秩序,保障有 线数字电视系统的安全运行,使监管平台从CAS 缓存设备中获取数据和信息, 并分析和整理,实现对条件接收系统的监管,广播电视监测中心于2003 年3 月 起负责起草《条件接收系统缓存设备与监管平台数据交换协议和格式技术要求》 (暂行)。本技术要求规定了监管平台的前端采集设备从条件接收系统获取数据 时的设备连接要求、协议框架、数据交换格式。适用于监管平台与有线数字电视 广播条件接收系统的CAS 缓存设备的数据交换。
上传时间: 2016-08-11
上传用户:qweqweqwe
利用ARM与DSP相联系,实现VoIP电话系统的安全可靠链接
上传时间: 2016-11-21
上传用户:hzy5825468