虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

高级<b>设计</b>

  • 一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: -

    一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把 他的话解释成人能听得懂的话. 2. 基本要求: 用下述两条具体规则和上述规则形式(2)实现.设大写字母表示魔王语言的词汇 小写字母表示人的语言的词汇 希腊字母表示可以用大写字母或小写字母代换的变量.魔王语言可含人的词汇. (1) B --> tAdA (2) A --> sae 3. 测试数据: B(ehnxgz)B 解释成 tsaedsaeezegexenehetsaedsae若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:"天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |

    标签: 语言 抽象

    上传时间: 2014-12-02

    上传用户:jkhjkh1982

  • MATLAB 7.0从入门到精通,的所有源代码!!!所在类别: 随书资源/T 工业技术/TP 自动化技术、计算机技术/TP31 计算机软件 其他题名: 作者: 求是科技编著 出版者: 人民

    MATLAB 7.0从入门到精通,的所有源代码!!!所在类别: 随书资源/T 工业技术/TP 自动化技术、计算机技术/TP31 计算机软件 其他题名: 作者: 求是科技编著 出版者: 人民邮电出版社 出版年: 2006 ISBN: 7-115-14327-7 ISBN1: ISRC: 分类号: TP312MA 索书号: TP312MA/44 丛编: 版次: 分卷: 定价: 简介: 本书共分为15章,前五章介绍MARLAB的基础知识;接下来四章是MARLAB7.0的高级应用部分;最后介绍了高级图形设计的相关知识和MARLAB与Word、Excel的混合使用以及MARLAB的应用程序接口。

    标签: MATLAB TP 7.0 31

    上传时间: 2015-12-11

    上传用户:comua

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    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

  • 计算机只能直接执行用机器语言编写的程序

    计算机只能直接执行用机器语言编写的程序,但是机器语言对计算机依赖性强、直观性差、编写程序工作量大、程序结构也欠清晰。因此人们多数都是用接近自然语言的高级程序设计语言来编写程序,但计算机不能直接接受和执行用高级语言编写的这些程序,需要通过一个翻译程序将它翻译成等价的机器语言程序才能执行。

    标签: 计算机 机器语言 编写 程序

    上传时间: 2016-01-31

    上传用户:waitingfy

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    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

  • 文档主要给出了java中线程池的一个例子

    文档主要给出了java中线程池的一个例子,虽然线程池一般由服务器管理,但对一个高级java设计人员,还是有必要了解的。

    标签: java 文档 线程

    上传时间: 2013-12-12

    上传用户:13517191407

  • 设平面上有一个m´ n的网格

    设平面上有一个m´ n的网格,将左下角的网格点标记为(0,0)而右上角的网格点标记为(m,n)。某人想从(0,0)出发沿网格线行进到达(m,n),但是在网格点(i,j)处他只能向上行进或者向右行进,向上行进的代价为aij(amj =+¥ ),向右行进的代价是bij(bin =+¥ )。试设计一个动态规划算法,在这个网格中为该旅行者寻找一条代价最小的旅行路线。用高级程序设计语言编写程序求解动态规划模型。

    标签: acute 网格

    上传时间: 2013-12-06

    上传用户:13160677563

  • 本书专门讨论Windows网络编程技术

    本书专门讨论Windows网络编程技术,覆盖Windows 95/98/NT 4/2000/CE平台。内容包括NetBIOS和Windows重定向器方法、Winsock方法、客户端远程访问服务器方法。本书论述深入浅出、用大量实例详解了微软网络API函数的应用。配套光盘包含了所有实例代码,方便读者使用。本书适合中、高级程序设计人员以及网络设计与管理人员参考。本书物超所值

    标签: Windows 网络 编程技术

    上传时间: 2014-01-25

    上传用户:qwe1234

  • 精通GDI+编程简介: 作为新一代操作系统的图形处理内核

    精通GDI+编程简介: 作为新一代操作系统的图形处理内核,GDI+在Windows XP和Windows Server 2003操作系统中扮演着极其重要的角色。 GDI+的出现,是对传统程序员的一种解脱。本书是目前国内少有的全面介绍GDI+编程的参考书。本书从画笔与画刷、文本与字体、区域与路径等基础知识谈起,将GDI+的技术细节一一展开。此外,GDI+的矩阵运算、图像的编码与解码、图像色彩信息校正等深层次知识,也都能够在本书中找到详细的说明。为了让读者更快地掌握GDI+编程,在每一章的内容中,都配有详尽的程序源代码,以强化具体的理论阐述。本书是作者长期从事GDI+编程的经验总结,所提供的源代码具有一定的代表性。 本书适合于能够熟练使用C++语言进行程序开发的中、高级程序设计人员阅读使用。另外,不论读者对GDI或GDI+编程熟悉与否,都可通过阅读本书全面掌握GDI+编程的每一个技术细节。同时,对于使用其他语言如C#、VB、Delphi等进行程序开发的读者,也可以通过本书对GDI+的基本原理及高级应用有一个全面的认识。

    标签: GDI 编程 操作系统 图形处理

    上传时间: 2013-12-21

    上传用户:AbuGe

  • If you are using Internet Explorer on Windows XP Service Pack 2, there is a security restriction dis

    If you are using Internet Explorer on Windows XP Service Pack 2, there is a security restriction disallowing scripts to run in files opened on your local machine. When you first try to run the examples, you will most likely get a message saying, "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer." To see the example, you must click on the message and select "Allow Blocked Content". JavaScript高级程序设计 里面自代源码

    标签: restriction Explorer Internet security

    上传时间: 2016-11-18

    上传用户:源弋弋