Question: Consider a traffic light system at a four-way crossroads (two roads intersecting at right angles). assume the simplest algorithm for cycling through the lights (e.g.,
Consider a traffic light system at a four-way crossroads (two roads intersecting at right angles). assume the simplest algorithm for cycling through the lights (e.g., all traffic on one road is allowed to go through the crossroad, while the other traffic is stopped). identify the states of this system and draw a state machine describing them. remember that each individual traffic light has three states (green, yellow, and red).
Step by Step Solution
3.51 Rating (151 Votes )
There are 3 Steps involved in it
Answer Two traffic lights are used to control the traffic of two roads which are intersected ... View full answer
Get step-by-step solutions from verified subject matter experts
