Uses of Interface
org.opentrafficsim.road.network.lane.object.trafficlight.TrafficLight
-
Packages that use TrafficLight Package Description org.opentrafficsim.road.gtu.lane.perception.categories Categories define a set of perceivable information.org.opentrafficsim.road.gtu.lane.perception.headway Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.road.network.control.rampmetering Classes for ramp metering.org.opentrafficsim.road.network.lane.object.trafficlight Traffic light and traffic light controller objects. -
-
Uses of TrafficLight in org.opentrafficsim.road.gtu.lane.perception.categories
Methods in org.opentrafficsim.road.gtu.lane.perception.categories that return types with arguments of type TrafficLight Modifier and Type Method Description PerceptionCollectable<HeadwayTrafficLight,TrafficLight>DirectIntersectionPerception. getTrafficLights(RelativeLane lane)Returns a set of traffic lights along the route.PerceptionCollectable<HeadwayTrafficLight,TrafficLight>IntersectionPerception. getTrafficLights(RelativeLane lane)Returns a set of traffic lights along the route. -
Uses of TrafficLight in org.opentrafficsim.road.gtu.lane.perception.headway
Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type TrafficLight Constructor Description HeadwayTrafficLight(TrafficLight trafficLight, Length distance)Construct a new Headway information object, for a traffic light ahead of us (or behind us, although that does not seem very useful). -
Uses of TrafficLight in org.opentrafficsim.road.network.control.rampmetering
Methods in org.opentrafficsim.road.network.control.rampmetering with parameters of type TrafficLight Modifier and Type Method Description protected voidCycleTimeLightController. setGreen(TrafficLight trafficLight)Sets the traffic light to green.protected voidCycleTimeLightController. setRed(TrafficLight trafficLight)Sets the traffic light to red.Constructor parameters in org.opentrafficsim.road.network.control.rampmetering with type arguments of type TrafficLight Constructor Description CycleTimeLightController(OTSSimulatorInterface simulator, java.util.List<TrafficLight> trafficLights, Compatible compatible) -
Uses of TrafficLight in org.opentrafficsim.road.network.lane.object.trafficlight
Classes in org.opentrafficsim.road.network.lane.object.trafficlight that implement TrafficLight Modifier and Type Class Description classAbstractTrafficLightBasic, abstract implementation of a traffic light.classSimpleTrafficLightStandard implementation of a traffic light.Methods in org.opentrafficsim.road.network.lane.object.trafficlight with parameters of type TrafficLight Modifier and Type Method Description 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.
-