| 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,
org.djunits.value.vdouble.scalar.Duration yellowDuration,
org.djunits.value.vdouble.scalar.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,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Create a fixed time controller.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.