3 ms·
No, it's called a finite state machine ;)
by plq 14y ago
No, it's called a finite state machine ;)
- spiralganglion 14y agoThe FSM is the model, the Railroad Diagram is the view, to borrow terms.
- beala 14y agoWell, as long as we're picking nits, an FSM accepts only regular languages, while a rail road diagram accepts context-free languages[1]. So a railroad diagram isn't really the "view" for an FSM. A state-diagram or state-transition table is (although the whole MVC analogy is itself kind of weird. Where's the controller?). [1] http://en.wikipedia.org/wiki/Syntax_diagram http://en.wikipedia.org/wiki/Syntax_diagram
- modarts 14y ago>Where's the controller? The MV* family of patterns seems to be okay without the notion of a controller.