Apache Commons SCXML: Finite State Machine Implementation | Java Code Geeks
January 21, 2015 5:22 am Apache Commons SCXML: Finite State Machine Implementation This article mentions about Finite State Machines (FSM), SCXML ( State Chart extensible Markup Language) and Apache Common's SCXML library. A basic ATM finite state machine sample code is also provided with the article. Finite State Machines: You probably remember Finite State Machines from your Computer Science courses. FSMs are used to design computer programs or digital circuits. A sample Finite State Machine [2] A FSM is simply an abstract machine that can be in one of a finite number of states.The machine is in only one state at a time; the state it is in at any given time is called the current state. It can change from one state to another when initiated by a triggering event or condition, this is called a transition. A particular FSM is defined by a list of the possible transition states from each current state, and the triggering condition for each transition . SCXML Language:Read full article from Apache Commons SCXML: Finite State Machine Implementation | Java Code Geeks
No comments:
Post a Comment