Description: Simulation to achieve the traffic light intersection management system logic, the specific requirements are as follows: ? Asynchronous randomly generated according to various routes of the vehicles. For example: to go from south to north from the vehicle---- straight to the traffic from south to west to come to the right of vehicles---- Vehicles coming from the east to the south to the vehicle---- left turn vehicles. . . ? ignoring yellow lights, consider only the red and green. ? should consider vehicle control lights turn left, turn right at traffic lights are not controlled. ? ? randomly generated vehicle traffic light switching interval and the time interval from the set, you can set.
To Search:
File list (Check if you may need any files):
traffic\.classpath
.......\.project
.......\bin\com\isoftstone\interview\traffic\Lamp.class
.......\...\...\..........\.........\.......\LampController$1.class
.......\...\...\..........\.........\.......\LampController.class
.......\...\...\..........\.........\.......\MainClass.class
.......\...\...\..........\.........\.......\Road$1.class
.......\...\...\..........\.........\.......\Road$2.class
.......\...\...\..........\.........\.......\Road.class
.......\src\com\isoftstone\interview\traffic\Lamp.java
.......\...\...\..........\.........\.......\LampController.java
.......\...\...\..........\.........\.......\MainClass.java
.......\...\...\..........\.........\.......\Road.java
.......\bin\com\isoftstone\interview\traffic
.......\src\com\isoftstone\interview\traffic
.......\bin\com\isoftstone\interview
.......\src\com\isoftstone\interview
.......\bin\com\isoftstone
.......\src\com\isoftstone
.......\bin\com
.......\src\com
.......\bin
.......\src
traffic