Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es State machine?

También llamado: state · event · transition

Definition 10.5 High School Computer Science · Capítulo 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.
Leer en el capítulo →