Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DOT 2.50 KB | None | 0 0
  1. //Deterministic machine, which accept all correct identifiers
  2. digraph dsm {
  3.     S0 [label="0"][shape=circle];
  4.     S1 [label="1"][shape=doublecircle];
  5.     S2 [label="2"][shape=doublecircle];
  6.     S3 [label="3"][shape=doublecircle];
  7.     S4 [label="4"][shape=doublecircle];
  8.     S5 [label="5"][shape=doublecircle];
  9.     S6 [label="6"][shape=doublecircle];
  10.     S7 [label="7"][shape=circle];
  11.     S8 [label="8"][shape=doublecircle];
  12.     S9 [label="9"][shape=doublecircle];
  13.     S10 [label="10"][shape=circle];
  14.     S11 [label="11"][shape=circle];
  15.     S12 [label="12"][shape=doublecircle];
  16.     S13 [label="13"][shape=doublecircle];
  17.     S14 [label="14"][shape=doublecircle];
  18.     S15 [label="15"][shape=doublecircle];
  19.     S16 [label="16"][shape=doublecircle];
  20.     S17 [label="17"][shape=circle];
  21.     S18 [label="18"][shape=doublecircle];
  22.     S19 [label="19"][shape=doublecircle];
  23.     S20 [label="20"][shape=circle];
  24.     S21 [label="21"][shape=doublecircle];
  25.     S22 [label="22"][shape=circle];
  26.     S23 [label="23"][shape=circle];
  27.     S24 [label="24"][shape=circle];
  28.     SPACE [color=white][label=""];
  29.     S0 -> S4 [label = "i"];
  30.     S0 -> S3 [label = "f"];
  31.     S0 -> S2 [label = "e"];
  32.     S0 -> S1 [label = "?"];
  33.     S0 -> S5 [label = "l"];
  34.     S0 -> S6 [label = "t"];
  35.     S0 -> S7 [label = "[0-9]"];
  36.     S1 -> S1 [label = "?"];
  37.     S2 -> S1 [label = "?"];
  38.     S2 -> S8 [label = "l"];
  39.     S3 -> S1 [label = "?"];
  40.     S3 -> S9 [label = "a"];
  41.     S4 -> S11 [label = "n"];
  42.     S4 -> S10 [label = "f"];
  43.     S4 -> S1 [label = "?"];
  44.     S5 -> S12 [label = "e"];
  45.     S5 -> S1 [label = "?"];
  46.     S6 -> S13 [label = "h"];
  47.     S6 -> S14 [label = "r"];
  48.     S6 -> S1 [label = "?"];
  49.     S7 -> S7 [label = "?"];
  50.     S8 -> S15 [label = "s"];
  51.     S8 -> S1 [label = "?"];
  52.     S9 -> S16 [label = "l"];
  53.     S9 -> S1 [label = "?"];
  54.     S10 -> S1 [label = "?"];
  55.     S11 -> S1 [label = "?"];
  56.     S12 -> S17 [label = "t"];
  57.     S12 -> S1 [label = "?"];
  58.     S13 -> S1 [label = "?"];
  59.     S13 -> S18 [label = "e"];
  60.     S14 -> S19 [label = "u"];
  61.     S14 -> S1 [label = "?"];
  62.     S15 -> S20 [label = "e"];
  63.     S15 -> S1 [label = "?"];
  64.     S16 -> S21 [label = "s"];
  65.     S16 -> S1 [label = "?"];
  66.     S17 -> S1 [label = "?"];
  67.     S18 -> S22 [label = "n"];
  68.     S18 -> S1 [label = "?"];
  69.     S19 -> S23 [label = "e"];
  70.     S19 -> S1 [label = "?"];
  71.     S20 -> S1 [label = "?"];
  72.     S21 -> S24 [label = "e"];
  73.     S21 -> S1 [label = "?"];
  74.     S22 -> S1 [label = "?"];
  75.     S23 -> S1 [label = "?"];
  76.     S24 -> S1 [label = "?"];
  77.     SPACE -> S0;
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement