Package | Description |
---|---|
org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
org.opentrafficsim.road.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.
|
org.opentrafficsim.road.gtu.lane.perception |
Implementation of lane-based perception for the GTU.
|
org.opentrafficsim.road.gtu.lane.perception.categories |
Categories define a set of perceivable information.
|
org.opentrafficsim.road.gtu.lane.plan.operational |
Specific operational plan method for road-vehicles operating in a lane-based network.
|
org.opentrafficsim.road.gtu.lane.tactical |
Tactical planners for a lane-based GTU.
|
org.opentrafficsim.road.network.animation |
Animation for Links, Lanes, Nodes.
|
org.opentrafficsim.road.network.factory |
Factories for Links, Lanes, Nodes.
|
org.opentrafficsim.road.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
org.opentrafficsim.road.network.lane.changing |
Lane change possibility models.
|
org.opentrafficsim.road.network.lane.conflict |
Contains classes describing intersection conflicts.
|
org.opentrafficsim.road.network.lane.object |
Lane-based objects such as barriers, gates, traffic lights, DRIPs, speed signs, obstacles on the road, etc.
|
org.opentrafficsim.road.network.lane.object.sensor |
Lane-based objects that act as sensors.
|
org.opentrafficsim.road.network.lane.object.trafficlight |
Traffic light and traffic light controller objects.
|
org.opentrafficsim.road.network.sampling |
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Method and Description |
---|---|
nl.tudelft.simulation.immutablecollections.ImmutableList<Lane> |
AbstractOTSPlot.getPath() |
Modifier and Type | Method and Description |
---|---|
protected void |
ContourPlot.addData(LaneBasedGTU gtu,
Lane lane)
Add data for a GTU on a lane to this graph.
|
protected void |
TrajectoryPlot.addData(LaneBasedGTU gtu,
Lane lane,
double posOnLane)
Add data for a GTU on a lane to this graph.
|
void |
TrajectoryPlot.Trajectory.addSample(LaneBasedGTU gtu,
Lane lane,
double position)
Add a trajectory segment sample and update the currentEndTime and currentEndPosition.
|
void |
TrajectoryPlot.VariableSampleRateTrajectory.addSample(LaneBasedGTU gtu,
Lane lane,
double position)
Add a trajectory segment sample and update the currentEndTime and currentEndPosition.
|
void |
TrajectoryPlot.FixedSampleRateTrajectory.addSample(LaneBasedGTU gtu,
Lane lane,
double position)
Add a trajectory segment sample and update the currentEndTime and currentEndPosition.
|
Constructor and Description |
---|
FundamentalDiagram(String caption,
org.djunits.value.vdouble.scalar.Duration aggregationTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Graph a Fundamental Diagram.
|
FundamentalDiagramLane(String caption,
org.djunits.value.vdouble.scalar.Duration aggregationTime,
Lane lane,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Graph a Fundamental Diagram.
|
FundamentalDiagramSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a FundamentalDiagramSensor.
|
Constructor and Description |
---|
AbstractOTSPlot(String caption,
List<Lane> path)
Construct a new AbstractOTSPlot.
|
AccelerationContourPlot(String caption,
List<Lane> path)
Create a new AccelerationContourPlot.
|
ContourPlot(String caption,
Axis xAxis,
List<Lane> path,
double redValue,
double yellowValue,
double greenValue,
String valueFormat,
String legendFormat,
double legendStep)
Create a new ContourPlot.
|
DataSampler(org.opentrafficsim.core.network.OTSNetwork network,
List<Lane> lanes)
Construct the data sampler demo.
|
DensityContourPlot(String caption,
List<Lane> path)
Create a new DensityContourPlot.
|
FlowContourPlot(String caption,
List<Lane> path)
Create a new FlowContourPlot.
|
SpeedContourPlot(String caption,
List<Lane> path)
Create a new SpeedContourPlot.
|
TrajectoryPlot(String caption,
org.djunits.value.vdouble.scalar.Duration sampleInterval,
List<Lane> path,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Create a new TrajectoryPlot.
|
Modifier and Type | Method and Description |
---|---|
Headway |
AbstractGTUGenerator.headway(org.djunits.value.vdouble.scalar.Length maxDistance,
Lane generatorLane)
Check the available headway for GTU that is about to be constructed.
|
Constructor and Description |
---|
AbstractGTUGenerator(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
Class<?> gtuClass,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> initialSpeedDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Duration,org.djunits.unit.DurationUnit> interarrivelTimeDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Time endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlannerFactory<? extends LaneBasedStrategicalPlanner> strategicalPlannerFactory,
org.opentrafficsim.core.network.route.RouteGenerator routeGenerator,
org.opentrafficsim.core.network.OTSNetwork network) |
GTUGeneratorIndividual(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
Class<?> gtuClass,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> initialSpeedDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Duration,org.djunits.unit.DurationUnit> interarrivelTimeDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> lengthDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> widthDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> maximumSpeedDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Time endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlannerFactory<? extends LaneBasedStrategicalPlanner> strategicalPlannerFactory,
org.opentrafficsim.core.network.route.RouteGenerator routeGenerator,
org.opentrafficsim.core.network.OTSNetwork network) |
ListGTUGenerator(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlanner strategicalPlanner,
org.opentrafficsim.core.network.OTSNetwork network,
String fileName)
Construct a GTU generator that takes the times to generate another GTU from an external source.
|
Modifier and Type | Method and Description |
---|---|
protected Lane |
AbstractLaneBasedGTU.determineNextLane(Lane lane)
XXX: direction dependent...
|
protected Lane |
AbstractLaneBasedGTU.determinePrevLane(Lane lane)
XXX: direction dependent...
|
Modifier and Type | Method and Description |
---|---|
Map<Lane,Double> |
LaneBasedGTU.fractionalPositions(org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,Double> |
AbstractLaneBasedGTU.fractionalPositions(org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,Double> |
LaneBasedGTU.fractionalPositions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,Double> |
AbstractLaneBasedGTU.fractionalPositions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,org.djunits.value.vdouble.scalar.Length> |
LaneBasedGTU.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane,org.djunits.value.vdouble.scalar.Length> |
AbstractLaneBasedGTU.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane,org.djunits.value.vdouble.scalar.Length> |
LaneBasedGTU.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane,org.djunits.value.vdouble.scalar.Length> |
AbstractLaneBasedGTU.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Modifier and Type | Method and Description |
---|---|
void |
LaneBasedGTU.addTrigger(Lane lane,
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent<org.opentrafficsim.core.dsol.OTSSimTimeDouble> event)
Add an event to the list of lane triggers scheduled for this GTU.
|
void |
AbstractLaneBasedGTU.addTrigger(Lane lane,
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent<org.opentrafficsim.core.dsol.OTSSimTimeDouble> event)
Add an event to the list of lane triggers scheduled for this GTU.
|
protected Lane |
AbstractLaneBasedGTU.determineNextLane(Lane lane)
XXX: direction dependent...
|
protected Lane |
AbstractLaneBasedGTU.determinePrevLane(Lane lane)
XXX: direction dependent...
|
void |
LaneBasedGTU.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality gtuDirection)
insert GTU at a certain position.
|
void |
AbstractLaneBasedGTU.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality gtuDirection)
insert GTU at a certain position.
|
double |
LaneBasedGTU.fractionalPosition(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
AbstractLaneBasedGTU.fractionalPosition(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
LaneBasedGTU.fractionalPosition(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
AbstractLaneBasedGTU.fractionalPosition(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
org.opentrafficsim.core.gtu.GTUDirectionality |
LaneBasedGTU.getDirection(Lane lane)
Return the directionality of a lane on which the GTU is registered for its current operational plan.
|
org.opentrafficsim.core.gtu.GTUDirectionality |
AbstractLaneBasedGTU.getDirection(Lane lane)
Return the directionality of a lane on which the GTU is registered for its current operational plan.
|
void |
LaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
AbstractLaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
AbstractLaneBasedGTU.leaveLane(Lane lane,
boolean beingDestroyed)
Leave a lane but do not complain about having no lanes left when beingDestroyed is true.
|
org.djunits.value.vdouble.scalar.Length |
LaneBasedGTU.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
org.djunits.value.vdouble.scalar.Length |
AbstractLaneBasedGTU.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
org.djunits.value.vdouble.scalar.Length |
LaneBasedGTU.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
org.djunits.value.vdouble.scalar.Length |
AbstractLaneBasedGTU.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
org.djunits.value.vdouble.scalar.Length |
LaneBasedGTU.projectedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position on the projection lane that has the same fractional position on one of the current lanes
of the indicated relative position.
|
org.djunits.value.vdouble.scalar.Length |
AbstractLaneBasedGTU.projectedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position on the projection lane that has the same fractional position on one of the current lanes
of the indicated relative position.
|
org.djunits.value.vdouble.scalar.Length |
LaneBasedGTU.translatedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position that the indicated relative position of this GTU would have if it were to change to
another Lane with a / the current CrossSectionLink.
|
org.djunits.value.vdouble.scalar.Length |
AbstractLaneBasedGTU.translatedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Return the longitudinal position that the indicated relative position of this GTU would have if it were to change to
another Lane with a / the current CrossSectionLink.
|
Modifier and Type | Method and Description |
---|---|
Lane |
LaneStructureRecord.getLane() |
Constructor and Description |
---|
LaneStructureRecord(Lane lane,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.djunits.value.vdouble.scalar.Length startDistance) |
Modifier and Type | Method and Description |
---|---|
Lane |
DirectDefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Lane |
DefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Modifier and Type | Method and Description |
---|---|
Map<Lane,Set<Lane>> |
DirectDefaultSimplePerception.getAccessibleAdjacentLanes(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
Map<Lane,Set<Lane>> |
DirectDefaultSimplePerception.getAccessibleAdjacentLanes(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
Map<Lane,Set<Lane>> |
DefaultSimplePerception.getAccessibleAdjacentLanes(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
Map<Lane,Set<Lane>> |
DefaultSimplePerception.getAccessibleAdjacentLanes(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
Map<Lane,Set<Lane>> |
DirectDefaultSimplePerception.getAccessibleAdjacentLanesLeft() |
Map<Lane,Set<Lane>> |
DirectDefaultSimplePerception.getAccessibleAdjacentLanesLeft() |
Map<Lane,Set<Lane>> |
DefaultSimplePerception.getAccessibleAdjacentLanesLeft() |
Map<Lane,Set<Lane>> |
DefaultSimplePerception.getAccessibleAdjacentLanesLeft() |
Map<Lane,Set<Lane>> |
DirectDefaultSimplePerception.getAccessibleAdjacentLanesRight() |
Map<Lane,Set<Lane>> |
DirectDefaultSimplePerception.getAccessibleAdjacentLanesRight() |
Map<Lane,Set<Lane>> |
DefaultSimplePerception.getAccessibleAdjacentLanesRight() |
Map<Lane,Set<Lane>> |
DefaultSimplePerception.getAccessibleAdjacentLanesRight() |
org.opentrafficsim.base.TimeStampedObject<Map<Lane,Set<Lane>>> |
DirectDefaultSimplePerception.getTimeStampedAccessibleAdjacentLanes(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
org.opentrafficsim.base.TimeStampedObject<Map<Lane,Set<Lane>>> |
DirectDefaultSimplePerception.getTimeStampedAccessibleAdjacentLanes(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
org.opentrafficsim.base.TimeStampedObject<Map<Lane,Set<Lane>>> |
DirectDefaultSimplePerception.getTimeStampedAccessibleAdjacentLanesLeft() |
org.opentrafficsim.base.TimeStampedObject<Map<Lane,Set<Lane>>> |
DirectDefaultSimplePerception.getTimeStampedAccessibleAdjacentLanesLeft() |
org.opentrafficsim.base.TimeStampedObject<Map<Lane,Set<Lane>>> |
DirectDefaultSimplePerception.getTimeStampedAccessibleAdjacentLanesRight() |
org.opentrafficsim.base.TimeStampedObject<Map<Lane,Set<Lane>>> |
DirectDefaultSimplePerception.getTimeStampedAccessibleAdjacentLanesRight() |
Modifier and Type | Method and Description |
---|---|
Lane |
DirectDefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Lane |
DefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Modifier and Type | Method and Description |
---|---|
Lane |
LaneBasedOperationalPlan.getReferenceLane() |
Modifier and Type | Method and Description |
---|---|
List<Lane> |
LaneBasedOperationalPlan.getReferenceLaneList() |
List<Lane> |
LaneBasedOperationalPlan.getSecondLaneList() |
Modifier and Type | Method and Description |
---|---|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildAccelerationLaneChangePlan(LaneBasedGTU gtu,
List<Lane> fromLanes,
org.opentrafficsim.core.network.LateralDirectionality laneChangeDirectionality,
nl.tudelft.simulation.language.d3.DirectedPoint startPosition,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Duration timeStep,
LaneOperationalPlanBuilder.LaneChange laneChange)
Build a plan with a path and a given start speed to try to reach a provided end speed.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Duration timeStep)
Build a plan with a path and a given start speed to try to reach a provided end speed.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildGradualAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed)
Build a plan with a path and a given start speed to reach a provided end speed, exactly at the end of the curve.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildGradualAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed,
org.djunits.value.vdouble.scalar.Acceleration maxAcceleration,
org.djunits.value.vdouble.scalar.Acceleration maxDeceleration)
Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the end of the curve.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildMaximumAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Acceleration deceleration)
Build a plan with a path and a given start speed to try to reach a provided end speed.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildStopPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Acceleration deceleration)
Build a plan with a path and a given start speed to try to come to a stop with a given deceleration.
|
static org.opentrafficsim.core.geometry.OTSLine3D |
LaneOperationalPlanBuilder.makePath(List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance)
Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the end of the curve.
|
Constructor and Description |
---|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
nl.tudelft.simulation.language.d3.DirectedPoint waitPoint,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Duration duration,
Lane referenceLane)
Build a plan where the GTU will wait for a certain time.
|
Constructor and Description |
---|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
org.opentrafficsim.core.geometry.OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
List<org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment> operationalPlanSegmentList,
List<Lane> referenceLaneList)
Construct an operational plan without a lane change.
|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
org.opentrafficsim.core.geometry.OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
List<org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment> operationalPlanSegmentList,
List<Lane> fromLaneList,
List<Lane> toLaneList,
int lastLaneIndex,
double lastFractionalPosition)
Construct an operational plan with a lane change.
|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
org.opentrafficsim.core.geometry.OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
List<org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment> operationalPlanSegmentList,
List<Lane> fromLaneList,
List<Lane> toLaneList,
int lastLaneIndex,
double lastFractionalPosition)
Construct an operational plan with a lane change.
|
Modifier and Type | Method and Description |
---|---|
Lane |
LanePathInfo.getReferenceLane()
The reference lane is the widest lane on which the reference point of the GTU is fully registered.
|
Modifier and Type | Method and Description |
---|---|
Set<Lane> |
NextSplitInfo.getCorrectCurrentLanes() |
List<Lane> |
LanePathInfo.getLanes() |
Modifier and Type | Method and Description |
---|---|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLanePathInfo(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length maxHeadway,
Lane startLane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality)
Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.
|
protected org.djunits.value.vdouble.scalar.Length |
LaneBasedCFLCTacticalPlanner.computeSuitabilityWithLaneChanges(Lane startLane,
double remainingDistance,
Map<Lane,org.djunits.value.vdouble.scalar.Length> suitabilities,
int totalLanes,
org.opentrafficsim.core.network.LateralDirectionality direction,
org.opentrafficsim.core.gtu.GTUType gtuType)
Compute the suitability of a lane from which lane changes are required to get to the next point on the Route.
This method weighs the suitability of the nearest suitable lane by (m - n) / m where n is the number of lane changes required and m is the total number of lanes in the CrossSectionLink. |
protected static boolean |
AbstractLaneBasedTacticalPlanner.connectsToPath(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length maxHeadway,
Lane startLane,
org.djunits.value.vdouble.scalar.Length startLanePosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality,
org.opentrafficsim.core.network.Link linkAfterSplit)
Determine whether the lane is directly connected to our route, in other words: if we would (continue to) drive on the
given lane, can we take the right branch at the nextSplitNode without switching lanes?
|
protected static boolean |
AbstractLaneBasedTacticalPlanner.noLaneDrop(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length maxHeadway,
Lane startLane,
org.djunits.value.vdouble.scalar.Length startLanePosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality)
Determine whether the lane does not drop, in other words: if we would (continue to) drive on the given lane, can we
continue to drive at the nextSplitNode without switching lanes?
|
Modifier and Type | Method and Description |
---|---|
protected org.djunits.value.vdouble.scalar.Length |
LaneBasedCFLCTacticalPlanner.computeSuitabilityWithLaneChanges(Lane startLane,
double remainingDistance,
Map<Lane,org.djunits.value.vdouble.scalar.Length> suitabilities,
int totalLanes,
org.opentrafficsim.core.network.LateralDirectionality direction,
org.opentrafficsim.core.gtu.GTUType gtuType)
Compute the suitability of a lane from which lane changes are required to get to the next point on the Route.
This method weighs the suitability of the nearest suitable lane by (m - n) / m where n is the number of lane changes required and m is the total number of lanes in the CrossSectionLink. |
Constructor and Description |
---|
NextSplitInfo(org.opentrafficsim.core.network.Node nextSplitNode,
Set<Lane> correctCurrentLanes) |
NextSplitInfo(org.opentrafficsim.core.network.Node nextSplitNode,
Set<Lane> correctCurrentLanes,
org.opentrafficsim.core.network.LateralDirectionality requiredDirection) |
Modifier and Type | Method and Description |
---|---|
org.opentrafficsim.core.animation.ClonableRenderable2DInterface<Lane> |
LaneAnimation.clone(Lane newSource,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator) |
Modifier and Type | Method and Description |
---|---|
org.opentrafficsim.core.animation.ClonableRenderable2DInterface<Lane> |
LaneAnimation.clone(Lane newSource,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator) |
Constructor and Description |
---|
LaneAnimation(Lane lane,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
Color color,
boolean drawCenterLine)
Animate a Lane.
|
Modifier and Type | Method and Description |
---|---|
static Lane |
LaneFactory.makeLane(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode from,
org.opentrafficsim.core.network.OTSNode to,
org.opentrafficsim.core.geometry.OTSPoint3D[] intermediatePoints,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
Create a simple Lane.
|
static Lane[] |
LaneFactory.makeMultiLane(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode from,
org.opentrafficsim.core.network.OTSNode to,
org.opentrafficsim.core.geometry.OTSPoint3D[] intermediatePoints,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLane(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode from,
org.opentrafficsim.core.network.OTSNode to,
org.opentrafficsim.core.geometry.OTSPoint3D[] intermediatePoints,
int laneCount,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLaneBezier(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode n1,
org.opentrafficsim.core.network.OTSNode n2,
org.opentrafficsim.core.network.OTSNode n3,
org.opentrafficsim.core.network.OTSNode n4,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
Create a simple road with the specified number of Lanes, based on a Bezier curve.
This method returns an array of Lane. |
Modifier and Type | Class and Description |
---|---|
class |
NoTrafficLane
Lane without traffic, e.g.
|
Modifier and Type | Method and Description |
---|---|
Lane |
Lane.clone(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation)
Clone the CrossSectionElement for e.g., copying a network.
|
Lane |
LaneDirection.getLane() |
Lane |
DirectedLanePosition.getLane()
Retrieve the lane.
|
Modifier and Type | Method and Description |
---|---|
Set<Lane> |
Lane.accessibleAdjacentLanes(org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.opentrafficsim.core.gtu.GTUType gtuType)
Determine the set of lanes to the left or to the right of this lane, which are accessible from this lane, or an empty set
if no lane could be found.
|
Map<Lane,org.opentrafficsim.core.gtu.GTUDirectionality> |
Lane.downstreamLanes(org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.GTUType gtuType)
Returns the lanes that could be followed in a given direction and for the given GTU type.
|
List<Lane> |
CrossSectionLink.getLanes()
Return a safe copy of the list of lanes of this CrossSectionLink.
|
Map<Lane,org.opentrafficsim.core.gtu.GTUDirectionality> |
Lane.nextLanes(org.opentrafficsim.core.gtu.GTUType gtuType)
NextLanes returns the successor lane(s) in the design line direction, if any exist.
The next lane(s) are cached, as it is too expensive to make the calculation every time. |
Map<Lane,org.opentrafficsim.core.gtu.GTUDirectionality> |
Lane.prevLanes(org.opentrafficsim.core.gtu.GTUType gtuType)
PrevLanes returns the predecessor lane(s) relative to the design line direction, if any exist.
The previous lane(s) are cached, as it is too expensive to make the calculation every time. |
Map<Lane,org.opentrafficsim.core.gtu.GTUDirectionality> |
Lane.upstreamLanes(org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.GTUType gtuType)
Returns the lanes that could precede in a given direction and for the given GTU type.
|
Constructor and Description |
---|
DirectedLanePosition(Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality gtuDirection)
Construct a new DirectedLanePosition.
|
Lane(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation,
Lane cse)
Clone a Lane for a new network.
|
LaneDirection(Lane lane,
org.opentrafficsim.core.gtu.GTUDirectionality direction) |
Modifier and Type | Method and Description |
---|---|
OvertakingDirection |
OvertakingConditions.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.None.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAndRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneLeft.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneBoth.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAlwaysRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightAlwaysLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSetRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSetLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
Modifier and Type | Method and Description |
---|---|
void |
LaneCombinationList.addLaneCombination(Lane lane1,
Lane lane2)
Add lane combination to the list.
|
static void |
ConflictBuilder.buildConflicts(Lane lane1,
org.opentrafficsim.core.gtu.GTUDirectionality dir1,
Lane lane2,
org.opentrafficsim.core.gtu.GTUDirectionality dir2,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
ConflictBuilder.WidthGenerator widthGenerator)
Build conflict on single lane pair.
|
static void |
ConflictBuilder.buildConflicts(Lane lane1,
org.opentrafficsim.core.gtu.GTUDirectionality dir1,
Lane lane2,
org.opentrafficsim.core.gtu.GTUDirectionality dir2,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
ConflictBuilder.WidthGenerator widthGenerator,
boolean permitted)
Build conflict on single lane pair.
|
boolean |
LaneCombinationList.contains(Lane lane1,
Lane lane2)
Returns whether the combination of the two lanes is included.
|
static void |
Conflict.generateConflictPair(ConflictType conflictType,
ConflictRule conflictRule,
boolean permitted,
Lane lane1,
org.djunits.value.vdouble.scalar.Length longitudinalPosition1,
org.djunits.value.vdouble.scalar.Length length1,
org.opentrafficsim.core.gtu.GTUDirectionality direction1,
org.opentrafficsim.core.geometry.OTSLine3D geometry1,
org.opentrafficsim.core.gtu.GTUType gtuType1,
Lane lane2,
org.djunits.value.vdouble.scalar.Length longitudinalPosition2,
org.djunits.value.vdouble.scalar.Length length2,
org.opentrafficsim.core.gtu.GTUDirectionality direction2,
org.opentrafficsim.core.geometry.OTSLine3D geometry2,
org.opentrafficsim.core.gtu.GTUType gtuType2,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Creates a pair of conflicts.
|
default double |
ConflictBuilder.WidthGenerator.getWidth(Lane lane,
double fraction)
Returns the begin width of this lane.
|
double |
ConflictBuilder.FixedWidthGenerator.getWidth(Lane lane,
double fraction)
Returns the begin width of this lane.
|
double |
ConflictBuilder.RelativeWidthGenerator.getWidth(Lane lane,
double fraction)
Returns the begin width of this lane.
|
Modifier and Type | Method and Description |
---|---|
static void |
ConflictBuilder.buildConflicts(List<Lane> lanes,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
ConflictBuilder.WidthGenerator widthGenerator)
Build conflicts on list of lanes.
|
static void |
ConflictBuilder.buildConflicts(List<Lane> lanes,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
ConflictBuilder.WidthGenerator widthGenerator,
LaneCombinationList ignoreList,
LaneCombinationList permittedList)
Build conflicts on list of lanes.
|
Constructor and Description |
---|
ConflictEnd(Conflict conflict,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition) |
Modifier and Type | Method and Description |
---|---|
Lane |
LaneBasedObject.getLane() |
Lane |
AbstractLaneBasedObject.getLane() |
Modifier and Type | Method and Description |
---|---|
static org.opentrafficsim.core.geometry.OTSLine3D |
LaneBasedObject.makeGeometry(Lane lane,
org.djunits.value.vdouble.scalar.Length position)
Make a geometry perpendicular to the center line of the lane at the given position.
|
Constructor and Description |
---|
AbstractLaneBasedObject(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.geometry.OTSLine3D geometry)
Construct a new LaneBasedObject with the required fields.
|
AbstractLaneBasedObject(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length height)
Construct a new AbstractLanebasedObject with the required fields.
|
AbstractLaneBasedObject(String id,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.geometry.OTSLine3D geometry)
Construct a new LaneBasedObject with the required fields.
|
AbstractLaneBasedObject(String id,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length height)
Construct a new AbstractLanebasedObject with the required fields.
|
BusStop(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
String name,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator) |
SpeedSign(String id,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
org.djunits.value.vdouble.scalar.Speed speed)
Speed sign active all day for all GTU types.
|
SpeedSign(String id,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Duration startTimeOfDay,
org.djunits.value.vdouble.scalar.Duration endTimeOfDay)
Speed sign for all GTU types.
|
SpeedSign(String id,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.GTUType gtuType)
Speed sign active all day.
|
SpeedSign(String id,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.djunits.value.vdouble.scalar.Duration startTimeOfDay,
org.djunits.value.vdouble.scalar.Duration endTimeOfDay)
Speed sign.
|
Constructor and Description |
---|
AbstractSensor(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
AbstractSensor(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.geometry.OTSLine3D geometry)
Create a sensor on a lane at a position on that lane at specified elevation and triggering an all GTU types.
|
AbstractSensor(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.geometry.OTSLine3D geometry,
nl.tudelft.simulation.immutablecollections.ImmutableSet<org.opentrafficsim.core.gtu.GTUType> triggeringGTUTypes)
Create a sensor on a lane at a position on that lane at elevation
Sensor.DEFAULT_SENSOR_ELEVATION . |
AbstractSensor(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length elevation)
Create a sensor on a lane at a position on that lane at specified elevation and triggering an all GTU types.
|
AbstractSensor(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length elevation,
nl.tudelft.simulation.immutablecollections.ImmutableSet<org.opentrafficsim.core.gtu.GTUType> triggeringGTUTypes)
Create a sensor on a lane at a position on that lane.
|
FlankSensor(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
TrafficLightSensor parent)
Construct a new FlankSensor.
|
SimpleReportingSensor(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.RelativePosition.TYPE triggerPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
SinkSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
SinkSensor(String dummy1,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.RelativePosition.TYPE dummy2,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
TrafficLightSensor(String id,
Lane laneA,
org.djunits.value.vdouble.scalar.Length positionA,
Lane laneB,
org.djunits.value.vdouble.scalar.Length positionB,
List<Lane> intermediateLanes,
org.opentrafficsim.core.gtu.RelativePosition.TYPE entryPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE exitPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a new traffic light sensor.
TODO Possibly provide the GTUTypes that trigger the sensor as an argument for the constructor |
Constructor and Description |
---|
TrafficLightSensor(String id,
Lane laneA,
org.djunits.value.vdouble.scalar.Length positionA,
Lane laneB,
org.djunits.value.vdouble.scalar.Length positionB,
List<Lane> intermediateLanes,
org.opentrafficsim.core.gtu.RelativePosition.TYPE entryPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE exitPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a new traffic light sensor.
TODO Possibly provide the GTUTypes that trigger the sensor as an argument for the constructor |
Constructor and Description |
---|
AbstractTrafficLight(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct an AbstractTrafficLight at default elevation (use only on roads at elevation 0).
|
AbstractTrafficLight(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.djunits.value.vdouble.scalar.Length height)
Construct an AbstractTrafficLight with specified elevation.
|
SimpleTrafficLight(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length longitudinalPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
Modifier and Type | Method and Description |
---|---|
Lane |
LaneData.getLane() |
Constructor and Description |
---|
LaneData(Lane lane) |
Copyright © 2014–2017 Delft University of Technology. All rights reserved.