Book a Demo

Author Topic: EA Help file on Choices / Junctions  (Read 6334 times)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
EA Help file on Choices / Junctions
« on: December 09, 2004, 06:21:53 am »
Having been quizzed by a colleague on when to use a Choice and when to use a Junction in a State diagram, I did some reading around.

The EA Help file is not very illuminating on this, just referring to dynamic (C) or static (J) guard conditions.

However, Douglass (Real Time UML, pub Addison Wesley) says that a Choice point is a kind of junction that executes its action list before going on to the next transition segment.

This is presumably from 'classical' state machine terminology, where states are linked by transitions that have events(triggers), guards and actions.

When a trigger occurs, the actions on the transition on which the guard is TRUE are executed.

Douglass goes on to dissuade us from using Choices, on the grounds that you might execute your actions and then find out your guards were all FALSE.

Still, it would be "helpful" if the EA Help file could be a little more forthcoming on this otherwise confusing detail !

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: EA Help file on Choices / Junctions
« Reply #1 on: December 09, 2004, 07:44:15 am »
Have you tried Zicom Mentor?
Cheers and best regards.

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: EA Help file on Choices / Junctions
« Reply #2 on: December 09, 2004, 08:10:54 am »
No, but I was just noting an area where the EA offering could be improved in a minor way, as well as communicating an (IMHO) useful distinction.

Presumably you, CJ, didn't get where you are today without using Zicom Mentor ;-)

(See http://www.mgnet.karoo.net/cjphrases.htm)
« Last Edit: December 10, 2004, 12:39:30 am by mikewhit »

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: EA Help file on Choices / Junctions
« Reply #3 on: December 09, 2004, 08:40:27 am »
G'day,

Fair, for sure.

Yeah, I rely pretty heavily on books and the Mentor for UML and process guidelines.

Although I don't use EA's docs for any kind of UML and/or process documentation, I wouldn't complain if there were more.  Unless, of course, it meant slowing down delivery of functionality goodies. :)
Cheers and best regards.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: EA Help file on Choices / Junctions
« Reply #4 on: May 08, 2005, 07:04:01 pm »
Quote
Presumably you, CJ, didn't get where you are today without using Zicom Mentor ;-)

(See http://www.mgnet.karoo.net/cjphrases.htm)


Where are you Reginald Perrin, when we need you? ;D

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: EA Help file on Choices / Junctions
« Reply #5 on: May 09, 2005, 02:16:13 am »
I think my quote was lost on the Sparx "CJ" - if I was wrong, well, super :-)