• <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

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

            DFA求補集

            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 肥仔 閱讀(1877) 評論(0)  編輯 收藏 引用 所屬分類: 狀態機 & 自動機 & 形式語言

            色妞色综合久久夜夜| 人妻无码久久精品| 9久久9久久精品| 久久国产精品视频| 99久久精品国产一区二区| 欧美激情精品久久久久| 色欲综合久久躁天天躁| 久久久久亚洲av无码专区| 国産精品久久久久久久| 国产美女亚洲精品久久久综合| 精品免费久久久久国产一区| 久久综合精品国产二区无码| 久久av高潮av无码av喷吹| 亚洲午夜无码久久久久| 久久精品成人免费观看97| av国内精品久久久久影院| 中文字幕久久精品无码| 欧美激情精品久久久久久久| 青青国产成人久久91网| 久久久女人与动物群交毛片| 久久综合久久美利坚合众国| 99精品久久久久久久婷婷| 777米奇久久最新地址| 免费无码国产欧美久久18| 国产福利电影一区二区三区,免费久久久久久久精 | 免费观看久久精彩视频| 久久亚洲AV无码精品色午夜| 久久人妻少妇嫩草AV无码蜜桃| 久久综合久久久| 2021国产成人精品久久| 韩国三级大全久久网站| 欧美777精品久久久久网| 99久久精品毛片免费播放| 久久久噜噜噜www成人网| 亚洲色大成网站WWW久久九九| 欧美一级久久久久久久大片| 久久久久人妻精品一区三寸蜜桃| 久久av高潮av无码av喷吹| 久久最新免费视频| 亚洲欧洲久久av| 久久99精品国产麻豆宅宅|