• <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, 評(píng)論 - 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) 評(píng)論(0)  編輯 收藏 引用 所屬分類: 狀態(tài)機(jī) & 自動(dòng)機(jī) & 形式語(yǔ)言

            久久99国产亚洲高清观看首页| 99久久无色码中文字幕| 中文精品久久久久人妻| 久久99精品久久久大学生| 精品国产福利久久久| 人妻无码久久精品| 国产精品99久久99久久久| 久久久久无码精品国产app| 欧洲精品久久久av无码电影 | 久久综合九色综合久99| 伊人久久成人成综合网222| 久久国产精品久久国产精品| 久久精品视频一| 亚洲精品高清国产一久久| 一本久久a久久精品vr综合| 国产精品亚洲美女久久久| 久久精品毛片免费观看| 合区精品久久久中文字幕一区| 久久国产高清字幕中文| 久久人人爽人人爽人人AV| 综合久久精品色| 色婷婷狠狠久久综合五月| 国内精品久久久久久久亚洲| 久久久久亚洲精品天堂| 狠狠色丁香久久婷婷综合| 国产精品久久新婚兰兰| 久久综合狠狠综合久久97色| 精品人妻伦一二三区久久| 久久精品国内一区二区三区| A狠狠久久蜜臀婷色中文网| 欧美丰满熟妇BBB久久久| 日韩乱码人妻无码中文字幕久久| 久久久这里有精品| 国产精品久久久久蜜芽| 久久大香萑太香蕉av| 日韩精品久久久久久久电影| 日韩一区二区三区视频久久| 久久久久亚洲精品无码网址 | 久久精品国产第一区二区| 亚洲天堂久久精品| 久久午夜综合久久|