Package | Description |
---|---|
org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
org.opentrafficsim.road.car |
Classes that extend the GTU to car behavior.
|
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.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.
|
org.opentrafficsim.road.network.route |
Routes and route probabilities.
|
Modifier and Type | Method and Description |
---|---|
void |
TrajectoryPlot.addData(AbstractLaneBasedGTU car,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
LaneBasedGTUSampler.addData(AbstractLaneBasedGTU gtu,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
ContourPlot.addData(AbstractLaneBasedGTU car,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
TrajectoryPlot.Trajectory.addSegment(AbstractLaneBasedGTU 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 |
---|---|
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getInitialLongitudinalPositions() |
Modifier and Type | Method and Description |
---|---|
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder |
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder.setInitialLongitudinalPositions(Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setInitialLongitudinalPositions(Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions) |
Constructor and Description |
---|
LaneBasedIndividualCar(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer)
Construct a new LaneBasedIndividualCar.
|
LaneBasedTemplateCar(String id,
org.opentrafficsim.core.gtu.TemplateGTUType templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
CompleteLaneBasedRouteNavigator routeNavigator) |
LaneBasedTemplateCar(String id,
org.opentrafficsim.core.gtu.TemplateGTUType templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
CompleteLaneBasedRouteNavigator routeNavigator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass) |
Modifier and Type | Method and Description |
---|---|
HeadwayGTU |
AbstractGTUGenerator.headway(org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
LaneBasedRouteNavigator routeNavigator,
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,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
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,
LaneBasedRouteGenerator routeGenerator,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer) |
GTUGeneratorIndividual(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
Class<?> gtuClass,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
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,
LaneBasedRouteGenerator routeGenerator,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer) |
ListGTUGenerator(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
LaneBasedRouteGenerator routeGenerator,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
String fileName)
Construct a GTU generator that takes the times to generate another GTU from an external source.
|
Modifier and Type | Field and Description |
---|---|
(package private) Lane |
AbstractTrafficLight.lane
the lane of the block.
|
Modifier and Type | Method and Description |
---|---|
Lane |
LaneBlock.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 |
LaneBasedGTU.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 |
AbstractTrafficLight.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 |
AbstractLaneBasedGTU.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 |
LaneBlock.getLane() |
Lane |
AbstractTrafficLight.getLane() |
Modifier and Type | Method and Description |
---|---|
Map<Lane,Double> |
LaneBlock.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)
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)
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> |
LaneBlock.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> |
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> |
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,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.
|
List<Lane> |
AbstractLaneBasedGTU.getLanes() |
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> |
LaneBlock.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)
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)
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> |
LaneBlock.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> |
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> |
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.
|
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 |
---|---|
Lane |
LaneBlock.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 |
LaneBasedGTU.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 |
AbstractTrafficLight.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 |
AbstractLaneBasedGTU.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.
|
void |
LaneBlock.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position)
insert GTU at a certain position.
|
void |
LaneBasedGTU.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position)
insert GTU at a certain position.
|
void |
AbstractTrafficLight.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position)
insert GTU at a certain position.
|
void |
AbstractLaneBasedGTU.enterLane(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position)
insert GTU at a certain position.
|
double |
LaneBlock.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)
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)
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 |
LaneBlock.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 |
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 |
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.
|
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.
|
HeadwayGTU |
LaneBlock.headway(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
LaneBasedGTU.headway(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
AbstractTrafficLight.headway(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
AbstractLaneBasedGTU.headway(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
void |
LaneBlock.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
LaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
AbstractTrafficLight.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.
|
Set<LaneBasedGTU> |
LaneBlock.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBasedGTU.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractTrafficLight.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractLaneBasedGTU.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
org.djunits.value.vdouble.scalar.Length.Rel |
LaneBlock.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)
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)
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 |
LaneBlock.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.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.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 |
LaneBlock.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 |
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 |
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.
|
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.
|
String |
AbstractLaneBasedGTU.toString(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Description of Car at specified time.
|
Constructor and Description |
---|
AbstractTrafficLight(String name,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
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) |
LaneBlockOnOff(String name,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
Constructor and Description |
---|
AbstractLaneBasedGTU(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a Lane Based GTU.
|
AbstractLaneBasedIndividualGTU(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a new AbstractLaneBasedIndividualGTU.
|
AbstractLaneBasedTemplateGTU(String id,
org.opentrafficsim.core.gtu.TemplateGTUType templateGTUType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
CompleteLaneBasedRouteNavigator routeNavigator) |
Constructor and Description |
---|
LaneAnimation(Lane source,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator,
Color color) |
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)
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)
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)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
Modifier and Type | Field and Description |
---|---|
(package private) Map<Integer,Lane> |
LaneSectionTag.lanes
all lanes
|
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 |
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.
|
Set<Lane> |
Lane.nextLanes(org.opentrafficsim.core.gtu.GTUType gtuType)
The next lane(s) are cached, as it is too expensive to make the calculation every time.
|
Set<Lane> |
Lane.prevLanes(org.opentrafficsim.core.gtu.GTUType gtuType)
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) |
LaneLocation(Lane lane,
double fractionalLongitudinalPosition) |
LaneLocation(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position) |
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.
|
Modifier and Type | Method and Description |
---|---|
protected org.djunits.value.vdouble.scalar.Length.Rel |
AbstractLaneBasedRouteNavigator.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. |
org.djunits.value.vdouble.scalar.Length.Rel |
RandomLaneBasedRouteNavigator.suitability(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time.Rel timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
org.djunits.value.vdouble.scalar.Length.Rel |
LaneBasedRouteNavigator.suitability(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time.Rel timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
org.djunits.value.vdouble.scalar.Length.Rel |
CompleteLaneBasedRouteNavigator.suitability(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time.Rel timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
Modifier and Type | Method and Description |
---|---|
protected org.djunits.value.vdouble.scalar.Length.Rel |
AbstractLaneBasedRouteNavigator.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. |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.