-
変数の組み合わせで状態を表現
Combination of values indicate the state of the program
-
状態遷移図をif文、switch文で実現
Using if's and switch's for state transition table
-
簡単な状態遷移の場合はわかりやすい
Good for simple state transition
-
状態変数が増えてくると大変なことになる
Not ideal for really complicated state transition