W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2007

[SCXML] <anchor> stuff?

From: Serge Voloshenyuk <serge_voloshenyuk@yahoo.com>
Date: Sat, 14 Apr 2007 10:34:52 -0700 (PDT)
To: www-voice@w3.org
Message-ID: <287979.37112.qm@web34304.mail.mud.yahoo.com>
I would like to ask some questions about <anchor> stuff.
I really need answer for implementation.

1. Why do you use 2D array for DataSnapshots?
When machine enters to the state with <anchor>, other states with the same type anchors become unreachable for transitions with anchor. So  DataSnapshots[<anchor type>] would suffice.
Or I lost something?

2. "As part of this restart, all intermediate anchors are erased. Intermediate anchors are those that were set between the time the anchor state was last visited and the point at which the transition with the anchor state as target is taken. Note that all these anchors must have a different type from the one that is the target of the transition."
Does this mean that snapshots of other type anchors will be erased? Or only snapshots of the transition anchor's type?

3."If no state with a matching <anchor> type has been visited, the current state is exited and re- entered."
What do you mean under "current state"?
 a. State of anchored transition.
 b. Leaf state(s) of subtree of compound state of anchored transition. What about if this subtree has <parallel>s?
 c. All current leaf states of machine.
 d. LeastCommonAncestor of all current leaf states of machine.
 e. LeastCommonAncestor of all current leaf states which are childs of the state of anchored transition.

With best regards, Serge.

Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
Received on Saturday, 14 April 2007 17:35:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:39 UTC