Convert flat state-machine of VM states to HSM

asked 2014-12-03 01:19:55 -0600

trung-t-trinh gravatar image

From this link: , it can be seen that the state machine of VM states is flat-styled and highly-complex.

Is it better to convert this flat state machine to the HSM (Hierarchical State Machine)?

Pros: utilize HSM benefits such as grouping related states to a parent state for some common handling, having ENTRY and EXIT handling for each state and etc

Cons: can introduce potential errors due to the re-work.

edit retag flag offensive close merge delete