The (2,3) Turing state base class.
More...
|
| | State2_3Turing (int nStateId, const std::string &strStateName="", const std::string &strRefTag="") |
| | Initializatoin constuctor. More...
|
| |
|
virtual | ~State2_3Turing () |
| | Destructor.
|
| |
|
int | readSymbol () |
| |
|
void | writeSymbol (int sym) |
| |
|
void | moveHeadLeft () |
| | Move head left one position on the tape.
|
| |
|
void | moveHeadRight () |
| | Move head right one position on the tape.
|
| |
|
void | showTape () |
| | Show colorized tape to stdout.
|
| |
|
| static vector< int > | Tape |
| | the tape of symbols More...
|
| |
|
static int | Head |
| | the tape read/write head
|
| |
The (2,3) Turing state base class.
Definition at line 239 of file ut-sm.cxx.
| State2_3Turing::State2_3Turing |
( |
int |
nStateId, |
|
|
const std::string & |
strStateName = "", |
|
|
const std::string & |
strRefTag = "" |
|
) |
| |
|
inline |
Initializatoin constuctor.
- Parameters
-
| nStateId | State id. Must be state machine unique. |
| strStateName | State name. |
| strRefTag | State reference id. |
Definition at line 252 of file ut-sm.cxx.
255 StateKb(nStateId, strStateName, strRefTag)
The documentation for this class was generated from the following file: