Uses of Class
org.opentrafficsim.road.network.lane.object.trafficlight.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 voidTrafficLightControllerFixedDuration. addPhase(int phaseId, Duration yellowDuration, Duration greenDuration)Add a new phase.voidAbstractTrafficLightController. addTrafficLightToPhase(int phaseId, TrafficLight trafficLight)Add a traffic light to a phase.voidTrafficLightController. addTrafficLightToPhase(int phaseId, TrafficLight trafficLight)Add a traffic light to a phase.voidTrafficLightControllerFixedDuration. addTrafficLightToPhase(int phaseId, TrafficLight trafficLight)Add a traffic light to a phase.protected voidTrafficLightControllerFixedDuration. 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, DEVSSimulatorInterface.TimeDoubleUnit simulator)Create a fixed time controller.