
14 Feb
2005
14 Feb
'05
5:57 a.m.
David Abrahams wrote:
Okay, but what's the value of modeling an is-a relationship between states? In a FSM, states are distinct. One state is-not-a nother state.
Dog is-a Animal at modelling state. At runtime Dog dog; is not-a Animal animal; Likewise, Running state is-a Active state at modelling stage.
AFAICT it seems to be a way of grouping states, or perhaps of emulating substates, so you can avoid writing the transitions that a group of states has in common (?)
Yep. -- Alexander