6.005 5. Implementing state machines

Add to Favourites
Post to:

In this lesson , you learn how to implement state machines. In this implimentation we will use Singleton. Singleton is a name used when a class has only one instance. Design patterns are just a way of codifying knowledge. Here, we will see machine as object,class represents set of state machines, the standard use of objects, state as object, called State by Gang of Four,state as enumeration,factoring out control state,can be used in machine as class and machine as object.

Instructors: Prof. Daniel Jackson, Prof. Robert Miller MIT Course Number: 6.005 Level: Undergraduate, 6.005 5. Implementing state machines, Elements of Software Construction, Electrical Engineering and Computer Science, Engineering, Massachusetts Institute of Technology: MIT Open Course Ware, http://ocw.mit.edu (01-11-2011).License: Creative Commons BY-NC-SA: http://ocw.mit.edu/terms/#cc.

Type: pdf

LearnOnline Through OCW

Your Facebook Friends on WizIQ