[Qt-interest] Regarding dependent orthogonal/parallel states in Qt statemachine

srikanth.1.kyatham at nokia.com srikanth.1.kyatham at nokia.com
Tue Jan 3 18:28:14 CET 2012


Hello Frank,

 Happy new year. Thanks for your answers, I couldn't reply soon as I was away for few days.

Again 
"For complicated problems -- those real problems where
state machines can actually be helpful -- putting all of your state into
the state machine's official state variable -- can lead to overly complicated
state machines that suffer from an explosion of states.  In such cases
putting some of your "state" data into "extended state" variables can
help you manage this problem.  How to divide up your "state" information
between the the state machine's official state variable and its extended
state data is one of the key design issues you face when designing a
state machine.  And like all such design trade-offs, there is no a priori
right answer -- how to balance the trade-off will depend on the details
of the specific problem you are trying to solve."

You have mentioned the extended state variables, could you tell me more about this.
I didnot understand the applicability, how to use, where it could be used.
Do you mean by the data variables of the state. What are those. I didnot find any example
using it. Could you point me to one. Perhaps I can go through and improve the logic.

Regards,
Srikanth


More information about the Qt-interest-old mailing list