递归下降分析 (21).ppt
《递归下降分析 (21).ppt》由会员分享,可在线阅读,更多相关《递归下降分析 (21).ppt(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、compilerS1Minimizing Number of StatesoThe resulting DFA may be more complex than necessary.nIn Example 2.15 we got DFA for a*,but there is a more simple DFA.oImportant result from automata theory:For any given DFA there is an equivalent DFA containing a minimum number of states,and it is unique.1,2,
2、42,3,4aaacompilerS2Minimizing Number of States Algorithm1.Create two sets of states:all accepting states and all non-accepting states.2.For each set of states,consider the transitions on each character a of the alphabet.If all states in the set have transitions on a to the same set of states,then it
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 递归下降分析 21 递归 下降 分析 21
限制150内