摘要:Errors in the settings of traffic lights at the intersection can cause congestion. Itis caused of an excessive number of phases used in traffic lights. The writer triesto solve the traffic light settings using the method Graph coloring with TurboPascal. Graph coloring method is a way that gives color to each node in a graphwith a minimal color. The number of colors is what is the number of phases laterused in the traffic light settings. The writer maybe can offer an alternative optionin the settings of traffic lights so that they can reduce congestion at a crossroads.