Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Turing Machine Emulator

Turing machine emulator.
Step by step displaying.

Alphabet creation

char[] initialAlphabet = {'0', '1', '*', ' '};

Input specification

char[] initialLine = {'*', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '*'};

State creation

State Q1 = new State();
State Q2 = new State();
...

Instructions creation

Q1.subStateAdd('0', '0', 3, Q0, alphabet.alphabet);
Q1.subStateAdd('1', '1', 3, Q0, alphabet.alphabet);
...

Signature: input, output, direction: (1 - right, 2 - left, 3 - stay), next state, alphabet.

About

Turing machine emulator. Step by step displaying.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages