• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            woaidongmao

            文章均收錄自他人博客,但不喜標(biāo)題前加-[轉(zhuǎn)貼],因其丑陋,見諒!~
            隨筆 - 1469, 文章 - 0, 評論 - 661, 引用 - 0
            數(shù)據(jù)加載中……

            DFA求補(bǔ)集

            Comlement and Intersection of Regular Language

             

            Subjects to be Learned

            • Complement of Regular Language
            • Complement of DFA
            • Intersection of Regular Languages

            Contents


            Complement

            Let M = < Q , clip_image001, q0 , clip_image002, A > be a DFA that accepts a language L. Then a DFA that accepts the complement of L, i.e. clip_image001* - L, can be obtained by swapping its accepting states with its non-accepting states, that is Mc = < Q , clip_image001, q0 , clip_image002, Q - A > is a DFA that accepts clip_image001* - L .

            For example the following DFA accepts the language a+ over clip_image001= { a , b }.



                        clip_image003



            A DFA that accepts its complement is obtained from the above DFA by changing all single circles to double circles and vice versa as shown below.



                        clip_image004



            Remark 1: If we have NFA rather than DFA, we must first convert it to DFA before swapping states to get its complement.

            Remark 2: Since a language is regular if and only if it is accepted by some NFA, the complement of a regular language is also regular.


            Intersection of Regular Languages

            Langauges are sets. Therefore all the properties of sets are inherited by languages. In particular De Morgan's law also applies to languages. By Remark 2 above, if L1 and L2 are regular languages, then their complements are regular languages. Since L1 clip_image005L2 = clip_image006by De Morgan's law, L1 clip_image005L2 is regular.

            Thus summing all this up we can say that the set of regular languages over an alphabet is closed with respect to union, intersection, difference, concatenation and Kleene star operations.

            Test Your Understanding of Complemnent and Intersection of FAs

            Indicate which of the following statements are correct and which are not.
            Click True or Fals , then Submit.

            posted on 2009-11-05 12:14 肥仔 閱讀(1872) 評論(0)  編輯 收藏 引用 所屬分類: 狀態(tài)機(jī) & 自動機(jī) & 形式語言

            一本大道久久东京热无码AV| 久久久国产乱子伦精品作者| 成人精品一区二区久久| 久久天天日天天操综合伊人av| 久久久久久av无码免费看大片| 久久婷婷国产剧情内射白浆| av国内精品久久久久影院| 国产无套内射久久久国产| 久久强奷乱码老熟女网站| 久久久久久国产精品免费无码| 国产精品成人久久久久三级午夜电影| 伊人久久大香线蕉综合5g| 久久av无码专区亚洲av桃花岛| 久久本道综合久久伊人| 久久婷婷激情综合色综合俺也去| 狠狠综合久久综合中文88| 人妻丰满AV无码久久不卡| 亚洲精品成人网久久久久久| 久久91精品国产91久久户| 国内精品久久久久影院薰衣草 | 伊人精品久久久久7777| 国产午夜久久影院| 久久99热只有频精品8| 无码国产69精品久久久久网站| 国产亚洲成人久久| 久久久中文字幕| 国产亚洲婷婷香蕉久久精品| 久久久久久国产精品无码下载| 亚洲国产成人久久综合一区77 | 久久996热精品xxxx| 国内精品久久久久伊人av| 久久亚洲精品成人av无码网站| 久久www免费人成看片| 国色天香久久久久久久小说| 色老头网站久久网| 久久久国产视频| 亚洲国产精品无码久久一区二区| 久久婷婷午色综合夜啪| 99精品国产免费久久久久久下载| 色8激情欧美成人久久综合电| 无码精品久久一区二区三区|