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.object |
Lane-based objects such as barriers, gates, traffic lights, obstacles on the road, etc.
|
org.opentrafficsim.road.gtu.lane.perception |
Implementation of lane-based perception for the GTU.
|
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.factory.opendrive |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
org.opentrafficsim.road.network.factory.osm.output |
OpenStreetMap output.
|
org.opentrafficsim.road.network.factory.xml |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
TrajectoryPlot.addData(LaneBasedGTU car,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
LaneBasedGTUSampler.addData(LaneBasedGTU gtu,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
ContourPlot.addData(LaneBasedGTU car,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
TrajectoryPlot.Trajectory.addSegment(LaneBasedGTU car,
Lane lane,
double positionOffset)
Add a trajectory segment and update the currentEndTime and currentEndPosition.
|
Constructor and Description |
---|
FundamentalDiagram(String caption,
org.djunits.value.vdouble.scalar.Time.Rel aggregationTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position)
Graph a Fundamental Diagram.
|
FundamentalDiagramLane(String caption,
org.djunits.value.vdouble.scalar.Time.Rel aggregationTime,
Lane lane,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Graph a Fundamental Diagram.
|
FundamentalDiagramSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a FundamentalDiagramSensor.
|
Constructor and Description |
---|
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.
|
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.Time.Rel sampleInterval,
List<Lane> path)
Create a new TrajectoryPlot.
|
Modifier and Type | Method and Description |
---|---|
HeadwayGTU |
AbstractGTUGenerator.headway(org.djunits.value.vdouble.scalar.Length.Rel 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.Time.Rel,org.djunits.unit.TimeUnit> interarrivelTimeDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Abs endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlanner strategicalPlanner,
Class<LanePerceptionFull> perceptionClass,
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.Time.Rel,org.djunits.unit.TimeUnit> interarrivelTimeDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> lengthDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,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.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Abs endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlanner strategicalPlanner,
Class<LanePerceptionFull> perceptionClass,
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.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlanner strategicalPlanner,
LanePerceptionFull perception,
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 |
---|---|
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> |
CopyOfAbstractLaneBasedGTU.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.Abs 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> |
CopyOfAbstractLaneBasedGTU.fractionalPositions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Abs 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.opentrafficsim.core.gtu.GTUDirectionality> |
LaneBasedGTU.getLanes() |
Map<Lane,org.opentrafficsim.core.gtu.GTUDirectionality> |
CopyOfAbstractLaneBasedGTU.getLanes() |
Map<Lane,org.opentrafficsim.core.gtu.GTUDirectionality> |
AbstractLaneBasedGTU.getLanes() |
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> |
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.Rel> |
CopyOfAbstractLaneBasedGTU.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.Rel> |
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.Rel> |
LaneBasedGTU.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel> |
CopyOfAbstractLaneBasedGTU.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel> |
AbstractLaneBasedGTU.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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 |
CopyOfAbstractLaneBasedGTU.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.
|
void |
LaneBasedGTU.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality gtuDirection)
insert GTU at a certain position.
|
void |
CopyOfAbstractLaneBasedGTU.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality gtuDirection)
insert GTU at a certain position.
|
void |
AbstractLaneBasedGTU.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel 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 |
CopyOfAbstractLaneBasedGTU.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.Abs 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 |
CopyOfAbstractLaneBasedGTU.fractionalPosition(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Abs 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.
|
void |
LaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
CopyOfAbstractLaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
AbstractLaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
CopyOfAbstractLaneBasedGTU.leaveLane(Lane lane,
boolean beingDestroyed)
Leave a lane but do not complain about having no lanes left when beingDestroyed is true.
|
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.Rel |
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.Rel |
CopyOfAbstractLaneBasedGTU.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.Rel |
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.Rel |
LaneBasedGTU.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel |
CopyOfAbstractLaneBasedGTU.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel |
AbstractLaneBasedGTU.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel |
LaneBasedGTU.projectedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a / the current
CrossSectionLink.
|
org.djunits.value.vdouble.scalar.Length.Rel |
CopyOfAbstractLaneBasedGTU.projectedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a / the current
CrossSectionLink.
|
org.djunits.value.vdouble.scalar.Length.Rel |
AbstractLaneBasedGTU.projectedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a / the current
CrossSectionLink.
|
Modifier and Type | Field and Description |
---|---|
(package private) Lane |
AbstractTrafficLight.laneTL
The lane of the block.
|
Modifier and Type | Method and Description |
---|---|
Lane |
AbstractTrafficLight.getLane() |
Modifier and Type | Method and Description |
---|---|
Map<Lane,Double> |
AbstractTrafficLight.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> |
AbstractTrafficLight.fractionalPositions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.opentrafficsim.core.gtu.GTUDirectionality> |
AbstractTrafficLight.getLanes() |
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> |
AbstractTrafficLight.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.Rel> |
AbstractTrafficLight.positions(org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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 |
AbstractTrafficLight.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 |
AbstractTrafficLight.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality gtuDirection)
insert GTU at a certain position.
|
double |
AbstractTrafficLight.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 |
AbstractTrafficLight.fractionalPosition(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.
|
void |
AbstractTrafficLight.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
org.djunits.value.vdouble.scalar.Length.Rel |
AbstractTrafficLight.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.Rel |
AbstractTrafficLight.position(Lane lane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel |
AbstractTrafficLight.projectedPosition(Lane projectionLane,
org.opentrafficsim.core.gtu.RelativePosition relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a / the current
CrossSectionLink.
|
Constructor and Description |
---|
AbstractTrafficLight(String name,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network) |
LaneBlock(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass,
org.opentrafficsim.core.network.OTSNetwork network) |
LaneBlockOnOff(String name,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network) |
OldTrafficLight(String id,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
SimpleTrafficLight(String name,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network) |
Modifier and Type | Method and Description |
---|---|
Lane |
AbstractLanePerception.bestAccessibleAdjacentLane(Lane currentLane,
org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Length.Rel 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 |
LaneStructureRecord.getLane() |
Modifier and Type | Method and Description |
---|---|
Lane |
AbstractLanePerception.bestAccessibleAdjacentLane(Lane currentLane,
org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Length.Rel 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.
|
Constructor and Description |
---|
LaneStructureRecord(Lane lane,
org.opentrafficsim.core.gtu.GTUDirectionality direction) |
Modifier and Type | Method and Description |
---|---|
Lane |
LaneBasedOperationalPlan.getReferenceLane() |
Modifier and Type | Method and Description |
---|---|
List<Lane> |
LaneBasedOperationalPlan.getReferenceLaneList() |
List<Lane> |
LaneBasedOperationalPlan.getTargetLaneList() |
Modifier and Type | Method and Description |
---|---|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildGradualAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs 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.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel 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.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Rel 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.Abs 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.
|
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.
|
static Lane |
AbstractLaneBasedTacticalPlanner.getReferenceLane(LaneBasedGTU gtu)
The reference lane is the widest lane on which the reference point of the GTU is fully registered.
|
Modifier and Type | Method and Description |
---|---|
protected static List<Lane> |
AbstractLaneBasedTacticalPlanner.buildLaneListForwardXXX(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality)
Build a list of lanes forward, with a maximum headway.
|
Set<Lane> |
NextSplitInfo.getCorrectCurrentLanes() |
Modifier and Type | Method and Description |
---|---|
protected static List<Lane> |
AbstractLaneBasedTacticalPlanner.buildLaneListForwardXXX(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality)
Build a list of lanes forward, with a maximum headway.
|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLanePathInfo(LaneBasedGTU gtu,
Lane startLane,
org.djunits.value.vdouble.scalar.Length.Rel startPosition,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway)
Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.
|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLanePathInfo(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
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.Rel |
LaneBasedCFLCTacticalPlanner.computeSuitabilityWithLaneChanges(Lane startLane,
double remainingDistance,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> 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.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
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.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
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.Rel |
LaneBasedCFLCTacticalPlanner.computeSuitabilityWithLaneChanges(Lane startLane,
double remainingDistance,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> 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.OTSNode nextSplitNode,
Set<Lane> correctCurrentLanes) |
Constructor and Description |
---|
LaneAnimation(Lane source,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
Color color,
boolean drawCenterLine) |
Modifier and Type | Method and Description |
---|---|
static Lane |
LaneFactory.makeLane(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(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(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(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 | Field and Description |
---|---|
(package private) Map<Integer,Lane> |
LaneSectionTag.lanes
All lanes
|
Modifier and Type | Method and Description |
---|---|
List<Lane> |
LaneSectionTag.findLanes(String orientation) |
Constructor and Description |
---|
GeneratorAnimation(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
Construct the DefaultCarAnimation for a LaneBlock (road block).
|
LaneAnimationOD(Lane source,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
Color color) |
Modifier and Type | Method and Description |
---|---|
List<Lane> |
Convert.makeLanes(OSMLink osmlink,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
WarningListener warningListener)
This method creates lanes out of an OSM link LaneTypes are not yet extensive and can be further increased through Tags
provided by OSM.
|
Modifier and Type | Field and Description |
---|---|
(package private) Map<String,Lane> |
LinkTag.lanes
Map of lane name to generated lanes.
|
Modifier and Type | Class and Description |
---|---|
class |
NoTrafficLane
Lane without traffic, e.g.
|
Modifier and Type | Method and Description |
---|---|
Lane |
Sensor.getLane() |
Lane |
LaneLocation.getLane() |
Lane |
LaneDirection.getLane() |
Lane |
DirectedLanePosition.getLane() |
Lane |
AbstractSensor.getLane() |
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.
|
List<Lane> |
CrossSectionLink.getLanes() |
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. |
Constructor and Description |
---|
AbstractSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
DirectedLanePosition(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality gtuDirection) |
LaneDirection(Lane lane,
org.opentrafficsim.core.gtu.GTUDirectionality direction) |
LaneLocation(Lane lane,
double fractionalLongitudinalPosition) |
LaneLocation(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position) |
SimpleReportingSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.RelativePosition.TYPE triggerPosition,
String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
SinkSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
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.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.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.