You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
440 B

\item \self
Consider the example of a controller for a lamp.
Initially the light is off. Pressing the button once turns on the light and the light glows white. From this state, any short-lasting pressure of the button causes the light to switch its color randomly between white, red, green, blue, and yellow.
At any state, pressing the button for a longer time turns the light off.
Model the lamp controller as \emph{transition system}.