In a finite state machine, can a state S1 generate an event, so this event will trigger a transition from this state S1 to another state S2 ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I prefer this way of visualizing FSM in software
In this scenario the
Initialstate will execute upon some path that can then transition intoTransition 1orTransition 2.Transition 1startsState 2whileTransition 2startsState 3. TheInitialstate can emit an event saying it will take the transitionTransition 1and your framework then can execute that transition.You’ll also notice that I do not have an end in this FSM. You need an end or a closed looped.