commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <rahul.akol...@gmail.com>
Subject Re: [scxml] State hierarchy with scxml
Date Mon, 17 May 2010 19:34:42 GMT
On Mon, May 17, 2010 at 12:08 PM, Charbel Abou-Khalil
<charbel89@hotmail.com> wrote:
> HI,
>
> Just wondering whether it is possible to define a state hierarchy with scxml?
>
> In short if you have a tree and the state of each tree node is based on a set of rules
that will involve the states of the child nodes all the way down to the leaf nodes of the
tree.
>
<snip/>

>From the limited information above, it seems each node has its own
state machine, and changes in the node state may affect parent node's
state. This could be achieved by maintaining an SCXML executor per
tree node and bubbling state changes up along the parent axis using
existing parent-child references available in the tree. A lighter
weight structure of one executor for the entire tree can perhaps also
be achieved using a state machine that is generated to match the tree
structure and parent node states are managed in composite states
recursively down to the simple states for the leaf nodes.

-Rahul


>
>
> Many thanks
>
>
>
> Regards
>
>
>
> Charbel.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message