Uses of Class
org.opentrafficsim.road.network.object.trafficlight.TrafficLight
Packages that use TrafficLight
Package
Description
Categories define a set of perceivable information.
Mental implementation based on an Attention Matrix, determining attention over different channels.
Interfaces and classes describing perceived objects.
Classes for ramp metering.
-
Uses of TrafficLight in org.opentrafficsim.road.gtu.perception.categories
Methods in org.opentrafficsim.road.gtu.perception.categories that return types with arguments of type TrafficLightModifier and TypeMethodDescriptionDirectIntersectionPerception.getTrafficLights(RelativeLane lane) IntersectionPerception.getTrafficLights(RelativeLane lane) Returns a set of traffic lights along the route. -
Uses of TrafficLight in org.opentrafficsim.road.gtu.perception.mental.channel
Methods in org.opentrafficsim.road.gtu.perception.mental.channel that return types with arguments of type TrafficLightModifier and TypeMethodDescriptionIntersectionPerceptionChannel.getTrafficLights(RelativeLane lane) -
Uses of TrafficLight in org.opentrafficsim.road.gtu.perception.object
Methods in org.opentrafficsim.road.gtu.perception.object that return TrafficLightModifier and TypeMethodDescriptionprotected TrafficLightPerceivedTrafficLight.getTrafficLight()Returns the traffic light for sub classes.Constructors in org.opentrafficsim.road.gtu.perception.object with parameters of type TrafficLightModifierConstructorDescriptionPerceivedTrafficLight(TrafficLight trafficLight, org.djunits.value.vdouble.scalar.Length distance, boolean turnOnRed) Construct a new Headway information object, for a traffic light ahead of us (or behind us, although that does not seem very useful).PerceivedTrafficLightChannel(TrafficLight trafficLight, org.djunits.value.vdouble.scalar.Length distance, boolean turnOnRed, Supplier<org.djunits.value.vdouble.scalar.Duration> perceptionDelay) 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 TrafficLightModifier and TypeMethodDescriptionprotected 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 TrafficLightModifierConstructorDescriptionCycleTimeLightController(OtsSimulatorInterface simulator, List<TrafficLight> trafficLights, DetectorType detectorType) Constructor.