Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « State machine » ?

Aussi appelé : state · event · transition

Definition 10.5 High School Computer Science · Chapitre 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.
Lire dans le chapitre →