File:DFA example multiplies of 3.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 358 × 158 pixels, file size: 7 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Example of a DFA that accepts binary numbers that are multiples of 3.
    Čeština: Příklad deterministického konečného automatu, který přijímá binární čísla, která jsou beze zbytku dělitelná třemi.
    Date
    Source Own work
    Author Self-made
    Other versions Original PNG
      ε
    012
    0
    021
    1
    102
    10
    120
    01
    201
    010
    210
    ε
    012
    ε
    012
    0
    021
    1
    102
    10
    120
    01
    201
    010
    210
    0
    021
    0
    021
    ε
    012
    01
    201
    010
    210
    1
    102
    10
    120
    1
    102
    1
    102
    10
    120
    ε
    012
    0
    021
    010
    210
    01
    201
    10
    120
    10
    120
    1
    102
    010
    210
    01
    201
    ε
    012
    0
    021
    01
    201
    01
    201
    010
    210
    0
    021
    ε
    012
    10
    120
    1
    102
    010
    210
    010
    210
    01
    201
    10
    120
    1
    102
    0
    021
    ε
    012

    Numeric entries denote functions mapping a state to a state; e.g. 102 abbreviates the function mapping state 0, 1, and 2 to state 1, 0, and 2, respectively; this is the function for digesting an input "1". The table shows the result of function composition, e.g. 021 ∘ 102 = 201, and 102 ∘ 021 = 120. Grey entries give a shortest input string corresponding to a function.

    Equivalent alternate representations
    Regular grammar
    (Start symbol S0):
    S0 → ε | 0 S0 | 1 S1
    S1 → 0 S2 | 1 S0
    S2 → 0 S1 | 1 S2

    Regular expression:

    (0|(1(01*(00)*0)*1)*)*

    Licensing

    Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
    In some countries this may not be legally possible; if so:
    I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    20 March 2007

    image/svg+xml

    9fd8169865e66c0aabac0fd077b62a9e4e42bc14

    7,258 byte

    158 pixel

    358 pixel

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current09:38, 4 November 2020Thumbnail for version as of 09:38, 4 November 2020358 × 158 (7 KB)wikimediacommons>Jochen Burghardtcolorize state circles

    There are no pages that use this file.