[erlang-questions] Hierarchical FSMs

Avinash Dhumane avinash@REDACTED
Sat Jun 18 15:55:20 CEST 2011


Both gen_fsm and plain_fsm appear to support only "flat", and not hierarchical, 
FSMs.

Maybe, the mental model of hierarchical FSMs has basic impedance mismatch with 
Erlang's view of the world - "everything is a process". 

I need to see "processes" rather than events and states of "objects" in the 
problem domain.

Thanks by all means!



________________________________
From: Daniel Goertzen <dang@REDACTED>
To: Avinash Dhumane <avinash@REDACTED>
Cc: erlang-questions@REDACTED
Sent: Sat, 18 June, 2011 8:29:45 AM
Subject: Re: [erlang-questions] Hierarchical FSMs

Take a look at plain_fsm (not part of OTP).

Dan.


On Fri, Jun 17, 2011 at 9:48 PM, Avinash Dhumane <avinash@REDACTED> wrote:

I'm new entrant in Erlang's world, and have read only Joe's thesis so far, and 
I'm not a programmer :-(
> 
>How to realise (implement) FSMs organised as state (superstate, substate) and 
>event (superevent, subevent) hierarchies using gen_fsm? I see these hierarchies 
>in dynamic models of Rumbaugh OMT.
> 
>Thoughts, or a quick example (code)?
> 
>Thanks
>Avinash
>_______________________________________________
>erlang-questions mailing list
>erlang-questions@REDACTED
>http://erlang.org/mailman/listinfo/erlang-questions
>
>


-- 
Daniel Goertzen
-----------------
dang@REDACTED (work)
daniel.goertzen@REDACTED (home)
-----------------
1 204 272 6149 (home/office)
1 204 470 8360 (mobile)
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110618/fe017bdc/attachment.htm>


More information about the erlang-questions mailing list