Uses of Class
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayTrafficLight
Package
Description
Categories define a set of perceivable information.
Static methods for composition in tactical planners.
-
Uses of HeadwayTrafficLight in org.opentrafficsim.road.gtu.lane.perception.categories
Modifier and TypeMethodDescriptionDirectIntersectionPerception.getTrafficLights
(RelativeLane lane) Returns a set of traffic lights along the route.IntersectionPerception.getTrafficLights
(RelativeLane lane) Returns a set of traffic lights along the route. -
Uses of HeadwayTrafficLight in org.opentrafficsim.road.gtu.lane.tactical.util
Modifier and TypeMethodDescriptionstatic org.djunits.value.vdouble.scalar.Acceleration
TrafficLightUtil.respondToTrafficLight
(org.opentrafficsim.base.parameters.Parameters parameters, HeadwayTrafficLight headwayTrafficLight, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedLimitInfo) Returns an acceleration as response to a traffic light, being positive infinity if ignored.Modifier and TypeMethodDescriptionstatic org.djunits.value.vdouble.scalar.Acceleration
TrafficLightUtil.respondToTrafficLights
(org.opentrafficsim.base.parameters.Parameters parameters, Iterable<HeadwayTrafficLight> headwayTrafficLights, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedLimitInfo) Returns an acceleration as response to a set of traffic lights, being positive infinity if ignored.