Book a Demo

Author Topic: Executing State Machine  (Read 3669 times)

malmoth

  • EA User
  • **
  • Posts: 49
  • Karma: +0/-0
  • On ne réveille pas un malmoth qui dort
    • View Profile
Executing State Machine
« on: March 16, 2006, 12:51:12 pm »
A great feature missing in EA is the ability to run state machine in order to check the model consistency. This function should provide executed sequence diagrams to be compared with the specified sequence diagrams.
This function is particularly useful for system modeling.
Regards,

Malmoth

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Executing State Machine
« Reply #1 on: March 16, 2006, 01:06:11 pm »
While this is a (very) big feature to take on all at once, surely there are some first steps in this direction that would provide some tangible benefit.

Anyone have ideas how this can be broken down into managable chunks?
No, you can't have it!

malmoth

  • EA User
  • **
  • Posts: 49
  • Karma: +0/-0
  • On ne réveille pas un malmoth qui dort
    • View Profile
Re: Executing State Machine
« Reply #2 on: March 16, 2006, 09:47:20 pm »
A first step could be to ckeck the state machine itself. No dead-end/unreachable state.
Even this is a big piece to deal with. UML defines many types of transitions, with or without guards.
« Last Edit: March 17, 2006, 11:28:34 am by rejaudry »
Regards,

Malmoth

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Executing State Machine
« Reply #3 on: March 17, 2006, 05:44:03 am »
I wonder if we could do this now, via some model validation rules.

I've been meaning to (read: putting off) experiment with this a bit. Don't know if I'lll get a moment soon (my client has just bought all my evenings and weekends for a while) but you might want to look.

Even if the EA validation facility won't cover this now, in the short term Sparx may be in a better position to enhance this function than add a major new feature.

In the longer term it is unlikely that simple validation rules will get anywhere near what we can do by exercising a state machine, but it is a start.
No, you can't have it!