Uses of Class
org.opentrafficsim.road.network.lane.object.trafficlight.TrafficLightException
-
Packages that use TrafficLightException Package Description org.opentrafficsim.road.network.lane.object.trafficlight Traffic light and traffic light controller objects. -
-
Uses of TrafficLightException in org.opentrafficsim.road.network.lane.object.trafficlight
Methods in org.opentrafficsim.road.network.lane.object.trafficlight that throw TrafficLightException Modifier and Type Method Description void
TrafficLightControllerFixedDuration. addPhase(int phaseId, Duration yellowDuration, Duration greenDuration)
Add a new phase.void
AbstractTrafficLightController. addTrafficLightToPhase(int phaseId, TrafficLight trafficLight)
Add a traffic light to a phase.void
TrafficLightController. addTrafficLightToPhase(int phaseId, TrafficLight trafficLight)
Add a traffic light to a phase.void
TrafficLightControllerFixedDuration. addTrafficLightToPhase(int phaseId, TrafficLight trafficLight)
Add a traffic light to a phase.protected void
TrafficLightControllerFixedDuration. changePhase()
Change the phase and/or color of the traffic lights.Constructors in org.opentrafficsim.road.network.lane.object.trafficlight that throw TrafficLightException Constructor Description TrafficLightControllerFixedDuration(String id, OTSSimulatorInterface simulator)
Create a fixed time controller.
-