Mealy state machine

A Mealy state machine is a finite state machine whose current outputs are dependent on the current and previous state. 1

In other words, the output is built on the edges.


  1. https://www.geeksforgeeks.org/mealy-and-moore-machines-in-toc/#