what are the different strategies of


What are the different strategies of implementation of the Statecharts? 

There are two strategies for implementation of state charts:

i)   Basic Implementation Strategy 

This approach models different states in statechart explicitly by means of an enumeration in class to which the statechart applies. It represents current state of the object by the value of data member in the object itself.

ii)   An Alternative Approach

This approach represents states as the objects. Each instance of class described by statechart maintains a pointer to its current state, which is an instance of one of state classes. The state classes are arranged in a generalization hierarchy so that same pointer can refer different states.

 

Request for Solution File

Ask an Expert for Answer!!
Database Management System: what are the different strategies of
Reference No:- TGS0353991

Expected delivery within 24 Hours