Least number of time-intervals


A crossing has several corridors for both cars and pedestrians. Corridors may not interfere and the traffic can flow simultaneously. On the other hand corridors that do interfere with each other have to have green within non-overlapping time slots. Time slots are distinguished by colors. What is the least number of time intervals necessary in one “cycle” of the traffic lights?