MTMS
main
Modern Turing Machine Simulator
Loading...
Searching...
No Matches
direction.hpp
Go to the documentation of this file.
1
11
#ifndef DIRECTION_HPP
12
#define DIRECTION_HPP
13
18
enum class
Direction
19
{
20
LEFT
,
21
RIGHT
,
22
STAY
23
};
24
25
#endif
// DIRECTION_HPP
Direction
Direction
Specifies the movement direction of the tape head.
Definition
direction.hpp:19
Direction::RIGHT
@ RIGHT
Move the tape head one cell to the right.
Direction::LEFT
@ LEFT
Move the tape head one cell to the left.
Direction::STAY
@ STAY
Keep the tape head on the current cell.
src
core
direction.hpp
Generated by
1.9.8