public interface TrafficLightController
 Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addTrafficLightToPhase(int phaseId,
                      TrafficLight trafficLight)
Add a traffic light to a phase. 
 | 
org.djunits.value.vdouble.scalar.Duration | 
getClearanceDurationToNextPhase()  | 
int | 
getCurrentPhase()  | 
String | 
getId()  | 
int | 
getNumberOfPhases()  | 
String getId()
int getNumberOfPhases()
int getCurrentPhase()
org.djunits.value.vdouble.scalar.Duration getClearanceDurationToNextPhase()
void addTrafficLightToPhase(int phaseId,
                            TrafficLight trafficLight)
                     throws TrafficLightException
phaseId - int; the id of the phase.trafficLight - TrafficLight; the traffic light to addTrafficLightException - when the phase was not createdCopyright © 2014–2017 Delft University of Technology. All rights reserved.