Re: [SCXML] history state in parallel state

David Junger <[email protected]> Wed, 15 Jul 2015 07:59:41 +0200
Newsgroups gmane.comp.web.voice
Message-ID <[email protected]>
Le 14 juil. 2015 =C3=A0 12:13, Erik Verbruggen =
<[email protected]> a =C3=A9crit :
>=20
> I have a question about history states inside parallel states. =
Consider this state machine:
>=20
> <scxml>
> <parallel id=3D"p">
>    <history id=3D"h">
>        <transition target=3D"a2"/>
>    </history>
>    <state id=3D"a">
>        <state id=3D"a1"/>
>        <state id=3D"a2"/>
>    </state>
> </parallel>
> </scxml>
>=20
> The question is: what is the (initial) configuration of the state =
machine? If I read the standard correctly, it should be (p, a, a2). Is =
that correct? If not, what did I miss?

No, the initial configuration would be (p -> a -> a1). The history =
pseudo-states can only be "entered" when targetted explicitly, as you =
have noticed in the algorithm, and they are not added to any =
configuration.

			David=