Communicating finite-state machine (source code)

= Communicating finite-state machine
{wiki=Communicating_finite-state_machine}

A Communicating Finite-State Machine (CFSM) is an extension of the traditional finite-state machine (FSM) that allows for communication between multiple machines or components. In computing and systems theory, both finite-state machines and CFSMs are used to model the behavior of systems in terms of states and transitions based on inputs.