|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--TEDController
| Constructor Summary | |
TEDController()
Constructor |
|
| Method Summary | |
void |
doHalt()
halt() This method halts the execution of the TM |
void |
doLoad()
doLoad() This method loads the current TM from a file |
void |
doSave()
doSave() This method saves the current TM to a file |
void |
loadMachine(TEDTM theTM)
loadMachine() This method loads the Turing Machine once it passes through the parser. |
void |
ludicrousSpeed()
ludicrousSpeed() This method runs the TM at Ludicrous Speed |
java.lang.StringBuffer |
printSerialNumber()
printSerialNumber() This method creates a dialog box which displays the serial number of the current Turing Machine. |
void |
reload()
reload() This method reloads the current TM. |
void |
runSpeed()
runSpeed() This method runs the TM at Run Speed |
void |
stepSpeed()
stepSpeed() This method runs the TM at Step Speed |
void |
updateRuleDisplay(java.lang.String tuple)
updateRuleDisplay() This method tells the gui to update the tuple history |
void |
updateStatusBox(TED5tuple currentTuple)
updateStausBox() This method tells the user just what the TM is doing |
void |
updateTape(int x)
updateTape This method tells the Gui to update the tape and gives it the current position of the tapehead. |
boolean |
validate()
validate() This method takes the User-entered input and creates a parser to deal with it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TEDController()
| Method Detail |
public boolean validate()
public void loadMachine(TEDTM theTM)
theTM: - the Turing Machine which was created by the parser.public void doSave()
public void doLoad()
public void stepSpeed()
public void runSpeed()
public void ludicrousSpeed()
public void doHalt()
public void reload()
public java.lang.StringBuffer printSerialNumber()
public void updateStatusBox(TED5tuple currentTuple)
currentTuple: - the current 5Tuple we are printing out.public void updateTape(int x)
x: - the current position of the tapehead.public void updateRuleDisplay(java.lang.String tuple)
tuple: - the current 5Tuple we are printing out.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||