| Package | Description |
|---|---|
| org.opentrafficsim.road.network.lane.object.trafficlight |
Traffic light and traffic light controller objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TrafficLightControllerFixedDuration.addPhase(int phaseId,
Duration yellowDuration,
Duration greenDuration)
Add a new phase.
|
void |
TrafficLightControllerFixedDuration.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 |
AbstractTrafficLightController.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.
|
| Constructor and Description |
|---|
TrafficLightControllerFixedDuration(String id,
DEVSSimulatorInterface.TimeDoubleUnit simulator)
Create a fixed time controller.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.