Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu State machine?

Dikenal juga sebagai: state · event · transition

Definition 10.5 High School Computer Science · Bab 10 — Sensors, Actuators and Control Programs

A state machine is made of a set of states, one of which is the current one, a set of events, and transitions: for a state and an event, the next state. The machine starts in an initial state, and each event moves it along one transition.

The crossing as a state machine. A tick is the end of a timed period. The pairs not drawn, such as amber with button, leave the state unchanged.
The crossing as a state machine. A tick is the end of a timed period. The pairs not drawn, such as amber with button, leave the state unchanged.
Baca dalam konteks →