VB.NET Simulation of Traffic at an intersection with traffic light and cars moving

SoccerBoss
Category:
Other
Price: $140 USD

Question description

Explanation of crossing: At the traffic lights' A ',' B ',' C 'and' D 'including states' Green', 'Yellow' and 'Red', the lights' E ',' F ',' G 'and' H 'represent the' Arrow ', this tells the driver state that progress as the' Arrow 'is on, and while it is off, the driver will stop. The crossing has weight sensors on every street, so that the time of the traffic lights adapt according to the influx of cars. The number of cars were verified individually in each 'light' just before the start of their status 'Green', taking into account the influx of cars in other lights. This crossing is listed as 'Dangerous' so the 'caution laps (right)' are banned, announcing that drivers with the legend 'Wait Your Light' Operation: They should be placed images of cars or colored rectangles that go forward and emulate the queue fills, ie a car after another car while traffic light was red. As should emulate the movement of the cars when they turn left or right in each lane as when going right and so clearing the value that had the red light as the cycle repeats again. At the beginning of the program, 'C' and 'G' are in green, while everyone else will be in red, this status remains 30 seconds. At the end of this, 'G' is turned off, to give rise to 'A' to fire, while 'A' and 'C' are green, 'B' and 'D' have to be red. This state will remain for 1 minute. Then 'C' will turn red, leading to 'E' to light; said state lasted 30 seconds. After that, 'A' and 'E' will turn red for 'B' and 'F' could ignite, this state lasted 30 seconds. Following the shutdown of 'F' to 'D' can ignite, thus leaving only green lit 'B' and 'D', this state lasted 1 minute. Finally, 'B' will go off and 'H' will light; thus leaving only 'D' and 'H' on; said state lasted 30 seconds. Once you have completed this cycle began again, but every stoplight verify the number of cars to walk, before going on to Verde, in order to change your life, and allow the passage of more vehicles, thus venting Avenue. The rail cars maximum H = 70 (to fill a LED should turn red in the lane and if not remove the red color) The rail cars maximum D = 40 (to fill a LED should light red in the lane and if not remove the red color) The maximum rail cars A = 100 (to fill a LED should light red in the lane and if not remove the red color) The rail cars maximum E = 100 (to fill a LED should light red in the lane and if not remove the red color) The maximum rail car B = 300 (to fill a LED should light red in the lane and if not remove the red color) The rail cars maximum F = 300 (to fill a LED should light red in the lane and if not remove the red color) The rail cars maximum G = 200 (to fill a LED should light red in the lane and if not remove the red color) The maximum rail cars C = 200 (to fill a LED should light red in the lane and if not remove the red color) Estadistics: 1.- Logs in console cars of each path o street 2.- cars that have happened in each semaphore 3.- cars are waiting at the light that was red (you must add those who are coming to this street)

Attach the images.

 

Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Cornell University
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors