- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
今天课程 2.2 Pushdown Automata, ep101, cp66 Informal Description PDA (1) 与ep102, cp66 图稍有不同 Informal Description PDA (2) ep102 Formal Description PDA定义2.8 ep103形式化定义 cp67 PDA for L = { 0n1n | n?0 } ep104 cp67 例c3.9 PDA for L = { 0n1n | n?0 } ep104 cp67 例c3.9 0-—左括号,1—右括号 Machine Diagram for 0n1n ep103 cp67 例c3.9 Machine Diagram for 0n1n ep 103 PDAs versus CFL ep106 ,cp 69, 计划自学内容 2.3 Non-CF Languages ep115 cp74 先讲思想 “Pumping Lemma c3.19 for CFLs” ep115 与RL不同,CFL 两处打圈,至少一处是真圈, 先讲思想 Remember Parse Trees ep 116 cp75 ,先讲思想 Pumping a Parse Tree ep116 ,先讲思想 A Tree Tall Enough ep116 cp75,先讲思想 uvxyz ?L 派生树足够高,分段记号, ep116 cp75 uv2xy2z ?L , i=2 ep116 在上页基础上A再自己派生一次,先讲思想 uxz ? L, i=0, ep116 cp=75,先讲思想 Pumping Lemma for CFL 形式化的表述ThmC3.19 ep115, cp75 用 言多必复 概括 Formal Proof of Pumping Lemma ep116 cp75严格证明 求证 anbncn非CFL (Ex. c3.20) ep117 cp76 Pumping anbncn (Ex3.21 .) ep117 cp76 Example c3.21 (Pumping down) ep118 cp76 D = { ww | w?{0,1}* } (Ex. c3.22) ep119 cp77 Pumping Problems 技巧 Union Closure Properties 补充 Union Closure Properties 补充 Intersection Complement? 补充 计算理论 wbfeng@staff.shu.edu.cn Chapter 2: 2.2 (Pushdown automata) 2.3 Non-CF languages 2.3 CFL pumping lemma Closure properties of CFL Pushdown automata are for context-free languages what finite automata are for regularlanguages. PDA :描述CFL的设备 PDAs are recognizing automata that have a single stack (= memory): “硬件” 增加了栈 Last-In First-Out pushing and popping 对应于 可用 if ,goto, 读,和栈操作 的C程序 Difference: PDAs are inherently nondeterministic.(They are not practical machines.) 天生不确定 input w = 00100100111100101 内部状态集合 State set Q x y y z x stack The PDA M 读带 w and 且 作栈操作. Depending on - input wi ? ??,输入字母表 - stack sj ? ??,栈字母表 - state qk ? Q 状态集合the PDA M: - jumps to a new state, - pushes an element ??(nondeterministically) input w = 00100100111100101 internal state set Q x y y z x stack After the PDA has read complete input, M will be in state
文档评论(0)