Last active
July 21, 2022 08:00
-
-
Save affeldt28/04a8c53ff6ac48b449daf02224b1448b to your computer and use it in GitHub Desktop.
Turingmaschine für die Sprache {w ∈ {a,b}* | w = 0^n 1^n, n ∈ ℕ0}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: turingmaschine-ti-12.4 | |
source code: | | |
input: 'aaabbb' | |
blank: ' ' | |
start state: q0 | |
table: | |
q0: | |
a: {write: A, R: q1} | |
' ': {write: ' ', R: qe} | |
q1: | |
a: {write: a, R: q1} | |
b: {write: b, R: q1} | |
B: {write: ' ', L: q2} | |
' ': {write: ' ', L: q2} | |
q2: | |
b: {write: B, L: q3} | |
q3: | |
a: {write: a, L: q3} | |
b: {write: b, L: q3} | |
A: {write: ' ', R: q4} | |
q4: | |
a: {write: A, R: q1} | |
B: {write: ' ', R: qe} | |
qe: | |
positions: | |
q0: {x: 200, y: 200} | |
q1: {x: 350, y: 100} | |
q2: {x: 500, y: 200} | |
q3: {x: 500, y: 400} | |
q4: {x: 350, y: 300} | |
qe: {x: 200, y: 400} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://turingmachine.io/?import-gist=04a8c53ff6ac48b449daf02224b1448b