CompassSoftware / CompassSoftware/TraffSim

4th Scenario for algorithm tweaks

Aperta
#64 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Car approaches, its red, min timer has not expired/dosn't turn right away
when min does expire, the other lane has a lot of traffic,
when min timer expires it still does not change/need to shuffle cars through the intersection
need sensor to tell us the amount of traffic, sensor 'enters' car into arraylist or controller enters into array list

Sensor needs 2 sensors: far away sensor for traffic and a close sensor for less amount of cars.

both sensors generally are true and false: 1st true, second false = not much traffic, both true change light to green for longer time to get cars through light.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.