Home > other >  Has anyone thought of such a problem: how many times have the opportunity of the day can green light
Has anyone thought of such a problem: how many times have the opportunity of the day can green light

Time:09-17

one title: a 1 km straight sections, there are five lights, every 00:00:00 reset to initial state, initial state are green, red, red, green, red ; Conversion cycle respectively 35 seconds (that is, the red light and green light 35 seconds), 38 seconds, 40 seconds, 36 seconds, 45 seconds, the spacing between the two two respectively 200 meters, 300 meters, 350 meters, 150 meters , a car from the first traffic light, with 60 kw/h speed, could you tell me the car in one day how many times have the opportunity to can not stop (i.e., is full of green light) by the road? The start time of every opportunity is what time of day (a few minutes for a few seconds), modeling and algorithm, please.
  • Related