Advertisement
Guest User

Untitled

a guest
May 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. DFA
  2. Alphabet: a
  3. States: 1
  4. Init: 1
  5. Final: 1
  6. Transitions:
  7. 1;a;1
  8. END
  9. not finiteDFA
  10. Alphabet: a
  11. States: 1;2;x
  12. Init: 1
  13. Final: 2
  14. Transitions:
  15. 1;a;2
  16. 2;a;x
  17. x;a;x
  18. END
  19. is finiteDFA
  20. Alphabet: a;b;c;d
  21. States: x;1;2;3;4
  22. Init: 1
  23. Final: 2;4
  24. Transitions:
  25. x;a;x
  26. x;b;x
  27. x;c;x
  28. x;d;x
  29. 1;a;2
  30. 1;b;x
  31. 1;c;x
  32. 1;d;x
  33. 2;a;x
  34. 2;b;3
  35. 2;c;x
  36. 2;d;x
  37. 3;a;x
  38. 3;b;x
  39. 3;c;4
  40. 3;d;x
  41. 4;a;x
  42. 4;b;x
  43. 4;c;x
  44. 4;d;x
  45. END
  46. is finiteDFA
  47. Alphabet: a;b;c;d
  48. States: x;1;2;3;4
  49. Init: 1
  50. Final: 4;3
  51. Transitions:
  52. x;a;x
  53. x;b;x
  54. x;c;x
  55. x;d;x
  56. 1;a;3
  57. 1;b;2
  58. 1;c;x
  59. 1;d;x
  60. 2;a;x
  61. 2;b;x
  62. 2;c;3
  63. 2;d;1
  64. 3;a;x
  65. 3;b;x
  66. 3;c;4
  67. 3;d;x
  68. 4;a;x
  69. 4;b;x
  70. 4;c;x
  71. 4;d;1
  72. END
  73. not finiteDFA
  74. Alphabet: a;b;c
  75. States: p;q;r
  76. Init: p
  77. Final: r
  78. Transitions:
  79. p;a;p
  80. p;b;p
  81. p;c;q
  82. q;a;q
  83. q;b;q
  84. q;c;r
  85. r;a;r
  86. r;b;r
  87. r;c;r
  88. END
  89. not finite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement