Difference:
CSC122F2021Lab2
(2 vs. 3)
Revision 3
2021-09-03 -
cathybareiss
Line: 1 to 1
META TOPICPARENT
name="CSC122SylF2021"
Turing Machine
Learning Objective(s)
Line: 20 to 20
char: new character
int: direction to move tape (-1, 0, 1)
int: new state
Added:
>
>
Constructor : Argument: String in form of a,b,c,d,e where
a is an integer representing the current state
b is a character representing the current value read by the tape head
c is the new character to be written to the tape
d is the direction to move the tape
e is the new state
equals : This methods returns a boolean indicating if it matches the passed state and character. Arguments(in order):
int: current state
char: current character
View topic
|
H
istory
:
r3
<
r2
<
r1
|
More topic actions...
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback