3.3. The controller module
In the controller module, we first illustrate the phase model,and then describe the single intersection model as well as the multiple intersection models, respectively. Finally, special modes are introduced to handle the unexpected situations.