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

计算方法上机实习<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

  • 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

  • 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

  • 科恩著“时_频分析:理论与应用”该书全面系统地阐述了时-频分析的理论与应用。全书共分19章

    科恩著“时_频分析:理论与应用”该书全面系统地阐述了时-频分析的理论与应用。全书共分19章,主要内容有:时间分析、频率分析、尺度分析、时间-带宽关系;瞬时频率;密度和局部量;短-时傅里叶变换;时-频分析;魏格纳分布;时-频表示;计算方法;综合问题;空间/空间-频率表示;时间尺度表示;算子;一般联合表示;随机信号和高阶时-频分布。每一个概念都有举例说明,而且还给出了这些方法如何推广到其它的变量,如尺度等。 西安交通大学出版社

    标签:

    上传时间: 2016-04-07

    上传用户:恋天使569

  • C++数值算法

    C++数值算法,基本的矩阵计算方法都已经包含在里面了,

    标签: 数值算法

    上传时间: 2013-12-08

    上传用户:xauthu

  • 一个用于按揭求值的代码

    一个用于按揭求值的代码,需要使用者熟悉利息的计算方法

    标签: 代码

    上传时间: 2014-01-11

    上传用户:qazxsw

  • 矩阵处理函数

    矩阵处理函数,里面包括多种矩阵计算方法和矩阵的一些性质

    标签: 矩阵处理 函数

    上传时间: 2016-04-21

    上传用户:三人用菜

  • 谢金星

    谢金星,邢文训 本书系统地介绍了禁忌搜索、模拟退火、遗传 算法、人工神经网络和拉格朗日松驰等现代优化计算方法的模型与理论、应用技术和应用案例。本书共6章,第1章介绍算法复杂性的基本概念和启发式算法的评价方法,后5章分别介绍各个现代优化计算方法。

    标签: 金星

    上传时间: 2014-01-22

    上传用户:1583060504

  • 遗传算法是将生物学的遗传进化原理和最优化技术结合的产物

    遗传算法是将生物学的遗传进化原理和最优化技术结合的产物,它在国民经济的各个行业和多个学科里获得了广泛的应用和关注。本书着重从计算方法和应用技术的角度对遗传算法作了深入浅出的讨论。书中介绍了遗传算法的基本概念和结构,解决约束优化和组合优化问题的方法,以及遗传算法在生产调度、可靠性设计、交通运输、设备布局等一系列工业工程问题中的应用。

    标签: 算法 生物学

    上传时间: 2016-05-19

    上传用户:asddsd

  • 小波阈值去噪

    小波阈值去噪,比较了软阈值,硬阈值及当今各种阈值计算方法和阈值函数处理方法的性能,通过信噪比及均方差的比较,得出各种的算法的优劣。

    标签: 小波阈值 去噪

    上传时间: 2016-05-30

    上传用户:qiaoyue