FSM advantages?

Inswitch Solutions - Erlang Evaluation <>
Thu Jan 23 09:31:48 CET 2003


Hi !

Thank you for your answers.
Suppose I have to implement a timed automata (timed temporal graph) in
Erlang.
Would FSM be the right choice to receive/send messaging with "after"
timeouts ?
A finite state machine (FSM) says what to do and a timed automata is a
finite state machine but also saying when (time) to do it.
Does someone already get in touch with implementations in Erlang for
this type of Real Time systems model ?


Regards,
Eduardo Figoli
INSwitch Solutions


----- Original Message -----
From: "Vlad Dumitrescu" <>
To: <>
Sent: Tuesday, January 21, 2003 9:00 AM
Subject: Rw: FSM advantages?


Hi,

Adding to Vance's comment, let's not forget that the predefined behaviours
do quite a lot of things behind the scenes, things that otherwise need to be
handled explicitly. Among them: tracing and error reporting, code change,
works in a supervision tree, a standardized API.

For a simple FSM, it is quite educative to implement it as a basic
function-based one. The next step would be trying to introduce one of the
things mentioned above, and I think it will be easy to appreciate that one
could use the already written and tested ones instead.

best regards,
Vlad
-----Original Message-----
From: Inswitch Solutions - Erlang Evaluation [mailto:]
Sent: Tuesday, January 21, 2003 1:58 PM
To: 
Subject: FSM advantages ?



Could someone tell me the advantages of using
FSM to Erlang receive & send messaging using functions (states), please ?


Thanks,
Eduardo Figoli
INSwitch Solutions








_________________________________________________________________
Senaste nytt från motormarknaden http://motor.msn.se/





More information about the erlang-questions mailing list