- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Solutions for Section 2.2
Exercise 2.2.1(a)
States correspond to the eight combinations of switch positions, and also must indicate whether the previous roll came out at D, i.e., whether the previous input was accepted. Let 0 represent a position to the left (as in the diagram) and 1 a position to the right. Each state can be represented by a sequence of three 0s or 1s, representing the directions of the three switches, in order from left to right. We follow these three bits by either a indicating it is an accepting state or r, indicating rejection. Of the 16 possible states, it turns out that only 13 are accessible from the initial state, 000r. Here is the transition table:
杠杆可能出现8种情况,影响着最终状态。并且也要说明,前面一个大理石球是否从D滚出,也就是说,前一个输入是否被接受。令 0 代表向左方的状态(如图表), 1 代表向右方。这三个杠杆的每一个状态都可以用三个数(0或1)组成的序列表示。这个序列后面跟着字母a或者r。a代表接受状态,r代表拒绝状态。16种可能的状态中,只有13种是从初始状态000r可达的。下面它的有穷自动机的转移表。
A
B
-000r
100r
011r
*000a
100r
011r
*001a
101r
000a
010r
110r
001a
*010a
110r
001a
011r
111r
010a
100r
010r
111r
*100a
010r
111r
101r
011r
100a
*101a
011r
100a
110r
000a
101a
*110a
000a
101a
111r
001a
110a
Exercise 2.2.2
The statement to be proved is δ-hat(q,xy) = δ-hat(δ-hat(q,x),y), and we proceed by induction on the length of y.
证明:通过对|y|进行归纳,来证明(q , xy)=((q , x) , y) ,具体过程如下:
Basis: If y = ε, then the statement is δ-hat(q,x) = δ-hat(δ-hat(q,x),ε). This statement follows from the basis in the definition of δ-hat. Note that in applying this definition, we must treat δ-hat(q,x) as if it were just a state, say p. Then, the statement to be proved is p = δ-hat(p,ε), which is easy to recognize as the basis in the definition of δ-hat.
基础: =0,则y=ε。那么需证(q,x)=((q ,x),ε),记p=(q,x),命题变为 p=(p ,ε), 由的定义知这显然成立。
Induction: Assume the statement for strings shorter than y, and break y = za, where a is the last symbol of y. The steps converting δ-hat(δ-hat(q,x),y) to δ-hat(q,xy) are summarized in the following table:
归纳: 假设命题对于比 y 短的串成立, 且y = za, 其中 a 是y的结尾符号。((q,x),y) 到(q,xy) 的变换总结在下表中:
Ex
您可能关注的文档
最近下载
- 2025年天津市专业技术人员公需考试试题-为中国式现代化提供强大动力和制度保障——党的二十届三中全会暨《中共中央关于进一步全面深化改革、推进中国式现代化的决定》总体解读.docx VIP
- 2024版建筑园林施工合同.docx VIP
- 2024高中化学课程标准考试模拟试卷附答案(三套) .pdf VIP
- 发展党员工作需要把握的47个时间节点.xlsx VIP
- 工会主席在XX市烟草专卖局(公司)党组理论学习中心组学习会上的研讨发言.doc VIP
- 自考英语二2024年10月真题及答案.docx
- 手持式电批说明书.docx VIP
- 钢结构厂房施工进度计划横道图(1)(1).pdf VIP
- 机械制造工艺学课程设计-拔叉工艺及夹具设计.doc VIP
- 2023年5月人力资源管理师二级真题及理论部分答案.pdf VIP
文档评论(0)