| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.dsol |
Extensions of the DSOL simulator interfaces and classes for OTS units.
|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.animation |
GTU animations.
|
| org.opentrafficsim.core.gtu.following |
GTU (Car) following models such as IDM+.
|
| org.opentrafficsim.core.gtu.generator |
Generate GTUs.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that stay in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.gtu.lane.changing |
Classes that deal with lane changing models.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
| org.opentrafficsim.core.network.geotools |
Geotools flavored Nodes, Links, etc.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.core.network.point2d |
Factories for Point2D flavored Links, Lanes, Nodes.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| org.opentrafficsim.core.unit |
Classes for the unit system.
|
| org.opentrafficsim.core.value.conversions |
Common conversions that generate results in the correct unit.
|
| org.opentrafficsim.core.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.opentrafficsim.core.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.opentrafficsim.core.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
| org.opentrafficsim.gui |
Swing components that are used in OpenTrafficSim.
|
| org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
| org.opentrafficsim.simulationengine.properties |
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getLength() |
DoubleScalar.Rel<LengthUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getWidth() |
| Modifier and Type | Method and Description |
|---|---|
Map<Lane,DoubleScalar.Rel<LengthUnit>> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getInitialLongitudinalPositions() |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setLength(DoubleScalar.Rel<LengthUnit> length) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setWidth(DoubleScalar.Rel<LengthUnit> width) |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder<ID> |
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder.setInitialLongitudinalPositions(Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setInitialLongitudinalPositions(Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<TimeUnit> |
OTSSimTimeDouble.minus(OTSSimTimeDouble absoluteTime) |
protected DoubleScalar.Rel<TimeUnit> |
OTSDEVSRealTimeClock.relativeMillis(double factor) |
| Modifier and Type | Method and Description |
|---|---|
void |
OTSSimTimeDouble.add(DoubleScalar.Rel<TimeUnit> simTime) |
void |
OTSSimTimeDouble.subtract(DoubleScalar.Rel<TimeUnit> simTime) |
| Constructor and Description |
|---|
OTSReplication(String id,
OTSSimTimeDouble startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a new OTSReplication.
|
OTSReplication(String id,
OTSSimTimeDouble startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a new OTSReplication.
|
| Constructor and Description |
|---|
OTSReplication(Experiment<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> experiment) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
RelativePosition.getDx() |
DoubleScalar.Rel<LengthUnit> |
RelativePosition.getDy() |
DoubleScalar.Rel<LengthUnit> |
RelativePosition.getDz() |
DoubleScalar.Rel<LengthUnit> |
TemplateGTUType.getLength() |
DoubleScalar.Rel<LengthUnit> |
GTU.getLength() |
DoubleScalar.Rel<LengthUnit> |
TemplateGTUType.getWidth() |
DoubleScalar.Rel<LengthUnit> |
GTU.getWidth() |
| Constructor and Description |
|---|
RelativePosition(DoubleScalar.Rel<LengthUnit> dx,
DoubleScalar.Rel<LengthUnit> dy,
DoubleScalar.Rel<LengthUnit> dz,
RelativePosition.TYPE type) |
RelativePosition(DoubleScalar.Rel<LengthUnit> dx,
DoubleScalar.Rel<LengthUnit> dy,
DoubleScalar.Rel<LengthUnit> dz,
RelativePosition.TYPE type) |
RelativePosition(DoubleScalar.Rel<LengthUnit> dx,
DoubleScalar.Rel<LengthUnit> dy,
DoubleScalar.Rel<LengthUnit> dz,
RelativePosition.TYPE type) |
| Modifier and Type | Field and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneChangeUrgeGTUColorer.LaneChangeDistanceAndDirection.distance
The distance available to complete the next required lane change.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneChangeUrgeGTUColorer.LaneChangeDistanceAndDirection.getDistance()
Retrieve the distance available to complete the next required lane change.
|
| Constructor and Description |
|---|
LaneChangeDistanceAndDirection(DoubleScalar.Rel<LengthUnit> distance,
Boolean left)
Construct a new LaneChangeDistanceAndDirection object.
|
LaneChangeUrgeGTUColorer(DoubleScalar.Rel<LengthUnit> minimumLaneChangeDistance,
DoubleScalar.Rel<LengthUnit> horizon)
Construct a new LaneChangeUrgeGTUColorer.
|
LaneChangeUrgeGTUColorer(DoubleScalar.Rel<LengthUnit> minimumLaneChangeDistance,
DoubleScalar.Rel<LengthUnit> horizon)
Construct a new LaneChangeUrgeGTUColorer.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
HeadwayGTU.getDistance()
Retrieve the strongly typed distance to the other GTU.
|
DoubleScalar.Rel<TimeUnit> |
FixedAccelerationModel.getDuration()
Retrieve the duration of this FixedAccelerationModel.
|
DoubleScalar.Rel<TimeUnit> |
SequentialFixedAccelerationModel.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
IDMPlus.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
IDM.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
GTUFollowingModel.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
FixedAccelerationModel.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<LengthUnit> |
GTUFollowingModel.minimumHeadway(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> precision,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed)
Compute the minimum net headway given the speed of the follower and the leader.
At the returned headway, the follower would decelerate with it's maximum comfortable deceleration. |
DoubleScalar.Rel<LengthUnit> |
AbstractGTUFollowingModel.minimumHeadway(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> precision,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed)
Compute the minimum net headway given the speed of the follower and the leader.
At the returned headway, the follower would decelerate with it's maximum comfortable deceleration. |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<AccelerationUnit> |
SequentialFixedAccelerationModel.computeAcceleration(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DoubleScalar.Abs<AccelerationUnit> |
IDMPlus.computeAcceleration(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DoubleScalar.Abs<AccelerationUnit> |
IDM.computeAcceleration(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DoubleScalar.Abs<AccelerationUnit> |
GTUFollowingModel.computeAcceleration(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DoubleScalar.Abs<AccelerationUnit> |
FixedAccelerationModel.computeAcceleration(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU<?> follower,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
AbstractGTUFollowingModel.computeAcceleration(LaneBasedGTU<?> follower,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DoubleScalar.Rel<LengthUnit> |
GTUFollowingModel.minimumHeadway(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> precision,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed)
Compute the minimum net headway given the speed of the follower and the leader.
At the returned headway, the follower would decelerate with it's maximum comfortable deceleration. |
DoubleScalar.Rel<LengthUnit> |
AbstractGTUFollowingModel.minimumHeadway(DoubleScalar.Abs<SpeedUnit> followerSpeed,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> precision,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Abs<SpeedUnit> followerMaximumSpeed)
Compute the minimum net headway given the speed of the follower and the leader.
At the returned headway, the follower would decelerate with it's maximum comfortable deceleration. |
| Constructor and Description |
|---|
SequentialFixedAccelerationModel(DEVSSimulator<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> simulator)
Construct a SequentialFixedAccelerationModel with empty list of FixedAccelerationModel steps.
|
SequentialFixedAccelerationModel(DEVSSimulator<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> simulator,
Set<FixedAccelerationModel> steps)
Construct a SequentialFixedAccelerationModel and load it with a list of FixedAccelerationModel steps.
|
| Modifier and Type | Method and Description |
|---|---|
HeadwayGTU |
AbstractGTUGenerator.headway(DoubleScalar.Rel<LengthUnit> maxDistance,
Route route,
Lane generatorLane)
Check the available headway for GTU that is about to be constructed.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<TimeUnit> |
LaneBlock.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
DoubleScalar.Rel<TimeUnit> |
LaneBasedGTU.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
DoubleScalar.Rel<TimeUnit> |
AbstractLaneBasedGTU.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlock.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedTemplateGTU.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedIndividualGTU.getLength() |
DoubleScalar.Rel<LengthUnit> |
LaneBlock.getWidth() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedTemplateGTU.getWidth() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedIndividualGTU.getWidth() |
DoubleScalar.Rel<LengthUnit> |
LaneBlock.position(Lane lane,
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.
|
DoubleScalar.Rel<LengthUnit> |
LaneBasedGTU.position(Lane lane,
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.
|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedGTU.position(Lane lane,
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.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlock.position(Lane lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
DoubleScalar.Rel<LengthUnit> |
LaneBasedGTU.position(Lane lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedGTU.position(Lane lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlock.projectedPosition(Lane projectionLane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a/the current
CrossSectionLink.
|
DoubleScalar.Rel<LengthUnit> |
LaneBasedGTU.projectedPosition(Lane projectionLane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a/the current
CrossSectionLink.
|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedGTU.projectedPosition(Lane projectionLane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> 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 | Method and Description |
|---|---|
Map<Lane,DoubleScalar.Rel<LengthUnit>> |
LaneBlock.positions(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,DoubleScalar.Rel<LengthUnit>> |
LaneBasedGTU.positions(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,DoubleScalar.Rel<LengthUnit>> |
AbstractLaneBasedGTU.positions(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,DoubleScalar.Rel<LengthUnit>> |
LaneBlock.positions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> 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,DoubleScalar.Rel<LengthUnit>> |
LaneBasedGTU.positions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> 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,DoubleScalar.Rel<LengthUnit>> |
AbstractLaneBasedGTU.positions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> 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 |
LaneBlock.addLane(Lane lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
LaneBasedGTU.addLane(Lane lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
AbstractLaneBasedGTU.addLane(Lane lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
DoubleScalar.Rel<TimeUnit> |
LaneBlock.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
DoubleScalar.Rel<TimeUnit> |
LaneBasedGTU.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
DoubleScalar.Rel<TimeUnit> |
AbstractLaneBasedGTU.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
HeadwayGTU |
LaneBlock.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBasedGTU.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
AbstractLaneBasedGTU.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBlock.headway(Lane lane,
DoubleScalar.Rel<LengthUnit> 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,
DoubleScalar.Rel<LengthUnit> 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,
DoubleScalar.Rel<LengthUnit> 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.
|
DoubleScalar.Abs<TimeUnit> |
LaneBlock.timeAtDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time when this GTU will have covered the specified distance from the position of the last evaluation time.
|
DoubleScalar.Abs<TimeUnit> |
LaneBasedGTU.timeAtDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time when this GTU will have covered the specified distance from the position of the last evaluation time.
|
DoubleScalar.Abs<TimeUnit> |
AbstractLaneBasedGTU.timeAtDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time when this GTU will have covered the specified distance from the position of the last evaluation time.
|
| Constructor and Description |
|---|
AbstractLaneBasedGTU(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
Route route,
OTSDEVSSimulatorInterface simulator)
Construct a Lane Based GTU.
|
AbstractLaneBasedIndividualGTU(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
Route route,
OTSDEVSSimulatorInterface simulator)
Construct a new AbstractLaneBasedIndividualGTU.
|
AbstractLaneBasedTemplateGTU(ID id,
TemplateGTUType<?> templateGTUType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
Route route) |
| Modifier and Type | Method and Description |
|---|---|
LaneMovementStep |
LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
static boolean |
SafeLaneChange.safe(GTU<?> referenceGTU,
GTU<?> otherGTU,
DoubleScalar.Rel<AccelerationUnit> maximumDeceleration,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Determine if dangerous decelerations are incurred if a GTU changes into a lane where another GTU is driving.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LinkLocation.distance(LinkLocation loc)
Returns the distance to another LinkLocation.
|
DoubleScalar.Rel<LengthUnit> |
Link.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLink.getLength() |
DoubleScalar.Rel<LengthUnit> |
LinkLocation.getLongitudinalPosition() |
| Constructor and Description |
|---|
AbstractLink(IDL id,
N startNode,
N endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
AbstractLink(IDL id,
N startNode,
N endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
LinkLocation(Link<?,?> link,
DoubleScalar.Rel<LengthUnit> position) |
| Modifier and Type | Field and Description |
|---|---|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.StraightTag.length
length.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.CrossSectionElementTag.offset
offset.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.ArcTag.radius
radius.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.GlobalTag.width
default lane width.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.RoadTypeTag.width
default lane width.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.CrossSectionElementTag.width
lane width.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.parseBeginEndPosition(String posStr,
XmlNetworkLaneParser.LinkTag linkTag)
This method parses a length string that can have values such as: BEGIN, END, 10m, END-10m, 98%.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.parseLengthRel(String s) |
protected DoubleScalar.Rel<SpeedUnit> |
XmlNetworkLaneParser.parseSpeedRel(String s) |
protected DoubleScalar.Rel<TimeUnit> |
XmlNetworkLaneParser.parseTimeRel(String s) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LinearGeometry.getLineLength() |
| Constructor and Description |
|---|
INT(int id,
NodeGeotools.INT startNode,
NodeGeotools.INT endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
INT(int id,
NodeGeotools.INT startNode,
NodeGeotools.INT endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
LinkGeotools(IDL id,
NodeGeotools<IDN> startNode,
NodeGeotools<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkGeotools(IDL id,
NodeGeotools<IDN> startNode,
NodeGeotools<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
STR(String id,
NodeGeotools.STR startNode,
NodeGeotools.STR endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
STR(String id,
NodeGeotools.STR startNode,
NodeGeotools.STR endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getBeginWidth() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getDesignLineOffsetAtBegin() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getDesignLineOffsetAtEnd() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getEndWidth() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralBoundaryPosition(LateralDirectionality lateralDirection,
double fractionalLongitudinalPosition)
Return the lateral offset from the design line of the parent Link of the Left or Right boundary of this
CrossSectionElement at the specified fractional longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralBoundaryPosition(LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the lateral offset from the design line of the parent Link of the Left or Right boundary of this
CrossSectionElement at the specified longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralCenterPosition(double fractionalPosition)
Retrieve the lateral offset from the Link design line at the specified longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLength()
Return the length of this CrossSectionElement as measured along the design line (which equals the center line).
|
DoubleScalar.Rel<LengthUnit> |
RoadMarkerAcross.getLongitudinalPosition() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getWidth(double fractionalPosition)
Return the width of this CrossSectionElement at a specified fractional longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getWidth(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the width of this CrossSectionElement at a specified longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
Lane.position(double fraction)
Transform a fraction on the lane to a relative length (can be less than zero or larger than the lane length).
|
| Modifier and Type | Method and Description |
|---|---|
int |
Lane.addGTU(LaneBasedGTU<?> gtu,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Add a LaneBasedGTU<?> to the list of this Lane.
|
Lane |
Lane.bestAccessibleAdjacentLane(LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType)
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.
|
double |
Lane.fraction(DoubleScalar.Rel<LengthUnit> position)
Transform a position on the lane (can be less than zero or larger than the lane length) to a fraction.
|
LaneBasedGTU<?> |
Lane.getGtuAfter(DoubleScalar.Rel<LengthUnit> position,
RelativePosition.TYPE relativePosition,
DoubleScalar.Abs<TimeUnit> when) |
LaneBasedGTU<?> |
Lane.getGtuBefore(DoubleScalar.Rel<LengthUnit> position,
RelativePosition.TYPE relativePosition,
DoubleScalar.Abs<TimeUnit> when) |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralBoundaryPosition(LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the lateral offset from the design line of the parent Link of the Left or Right boundary of this
CrossSectionElement at the specified longitudinal position.
|
DoubleScalar<LengthUnit> |
CrossSectionElement.getLateralCenterPosition(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Retrieve the lateral offset from the Link design line at the specified longitudinal position.
|
List<Sensor> |
Lane.getSensors(DoubleScalar.Rel<LengthUnit> minimumPosition,
DoubleScalar.Rel<LengthUnit> maximumPosition)
Retrieve the list of Sensors of this Lane in the specified distance range.
|
List<Sensor> |
Lane.getSensors(DoubleScalar.Rel<LengthUnit> minimumPosition,
DoubleScalar.Rel<LengthUnit> maximumPosition)
Retrieve the list of Sensors of this Lane in the specified distance range.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getWidth(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the width of this CrossSectionElement at a specified longitudinal position.
|
| Constructor and Description |
|---|
AbstractSensor(Lane lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
RelativePosition.TYPE positionType) |
Barrier(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Barrier(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Barrier(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionLink(IDL id,
NodeGeotools<IDN> startNode,
NodeGeotools<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length)
Construction of a link.
|
CrossSectionLink(IDL id,
NodeGeotools<IDN> startNode,
NodeGeotools<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construction of a link.
|
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
LaneLocation(Lane lane,
DoubleScalar.Rel<LengthUnit> position) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
RoadMarkerAcross(CrossSectionElement crossSectionElement,
DoubleScalar.Rel<LengthUnit> longitudinalPosition) |
RoadMarkerAlong(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
RoadMarkerAlong(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
RoadMarkerAlong(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
SinkLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a SinkLane.
|
SinkLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a SinkLane.
|
SourceLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a GeneratorLane.
|
SourceLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a GeneratorLane.
|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Set<GTUType<?>> gtuTypes,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for a number of GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Set<GTUType<?>> gtuTypes,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for a number of GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for all GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for all GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
| Constructor and Description |
|---|
INT(int id,
NodePoint2D.INT startNode,
NodePoint2D.INT endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
INT(int id,
NodePoint2D.INT startNode,
NodePoint2D.INT endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
LinkPoint2D(IDL id,
NodePoint2D<IDN> startNode,
NodePoint2D<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkPoint2D(IDL id,
NodePoint2D<IDN> startNode,
NodePoint2D<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
STR(String id,
NodePoint2D.STR startNode,
NodePoint2D.STR endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
STR(String id,
NodePoint2D.STR startNode,
NodePoint2D.STR endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
| Modifier and Type | Field and Description |
|---|---|
static DoubleScalar.Rel<LengthUnit> |
Route.GETOFFTHISLANENOW
Return value of suitability when a lane change is required right now.
|
static DoubleScalar.Rel<LengthUnit> |
Route.NOLANECHANGENEEDED
Return value of suitability when no lane change is required withing the time horizon.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
Route.suitability(Lane lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType,
DoubleScalar.Rel<TimeUnit> 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 |
|---|---|
DoubleScalar.Rel<LengthUnit> |
Route.suitability(Lane lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType,
DoubleScalar.Rel<TimeUnit> timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
DoubleScalar.Rel<LengthUnit> |
Route.suitability(Lane lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType,
DoubleScalar.Rel<TimeUnit> 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 |
|---|---|
static DoubleScalar.Rel<AnglePlaneUnit> |
AnglePlaneUnit.normalize(DoubleScalar.Rel<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Rel<AnglePlaneUnit> |
AnglePlaneUnit.normalize(DoubleScalar.Rel<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<U> |
MutableDoubleMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
DoubleScalar.Rel<U> |
DoubleMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
| Constructor and Description |
|---|
Dense(DoubleScalar.Rel<U>[][] values)
Construct a new Relative Dense MutableDoubleMatrix.
|
Dense(DoubleScalar.Rel<U>[][] values)
Construct a new Relative Dense Immutable DoubleMatrix.
|
Sparse(DoubleScalar.Rel<U>[][] values)
Construct a new Relative Sparse MutableDoubleMatrix.
|
Sparse(DoubleScalar.Rel<U>[][] values)
Construct a new Relative Sparse Immutable DoubleMatrix.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.copy()
Create a deep copy of this Value.
|
DoubleScalar.Rel<U> |
DistDiscreteDoubleScalar.Rel.draw() |
DoubleScalar.Rel<U> |
DistContinuousDoubleScalar.Rel.draw() |
DoubleScalar.Rel<U> |
MutableDoubleScalar.Rel.immutable()
Make (immutable) DoubleScalar equivalent for any type of MutableDoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DoubleScalar.Rel.compareTo(DoubleScalar.Rel<U> o) |
MutableDoubleScalar.Abs<U> |
MutableDoubleScalar.Abs.decrementBy(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableDoubleScalar.Rel<U> |
MutableDoubleScalar.Rel.decrementBy(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
protected MutableDoubleScalar<U> |
MutableDoubleScalar.decrementByImpl(DoubleScalar.Rel<U> rel)
Decrement the value of this Relative DoubleScalar from the value of this MutableDoubleScalar.
|
static MutableDoubleScalar.Rel<SIUnit> |
DoubleScalar.divide(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static MutableDoubleScalar.Rel<SIUnit> |
DoubleScalar.divide(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
MutableDoubleScalar.Rel.eq(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is equal to a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.eq(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is equal to a DoubleScalar.Rel<U>.
|
boolean |
MutableDoubleScalar.Rel.ge(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is greater than a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.ge(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is greater than a DoubleScalar.Rel<U>.
|
boolean |
MutableDoubleScalar.Rel.gt(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is greater than or equal to a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.gt(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is greater than or equal to a DoubleScalar.Rel<U>.
|
MutableDoubleScalar.Abs<U> |
MutableDoubleScalar.Abs.incrementBy(DoubleScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableDoubleScalar.Rel<U> |
MutableDoubleScalar.Rel.incrementBy(DoubleScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
protected MutableDoubleScalar<U> |
MutableDoubleScalar.incrementByImpl(DoubleScalar.Rel<U> rel)
Increment the value in this MutableDoubleScalar by the value in a Relative DoubleScalar.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Rel<U> zero,
DoubleScalar.Rel<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Rel<U> zero,
DoubleScalar.Rel<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
boolean |
MutableDoubleScalar.Rel.le(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is less than or equal to a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.le(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is less than or equal to a DoubleScalar.Rel<U>.
|
boolean |
MutableDoubleScalar.Rel.lt(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is less than a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.lt(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is less than a DoubleScalar.Rel<U>.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static MutableDoubleScalar.Rel<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static MutableDoubleScalar.Rel<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
MutableDoubleScalar.Rel.ne(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is not equal to a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.ne(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is not equal to a DoubleScalar.Rel<U>.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
| Constructor and Description |
|---|
Rel(DoubleScalar.Rel<U> value)
Construct a new Relative MutableDoubleScalar from an existing Relative Immutable DoubleScalar.
|
Rel(DoubleScalar.Rel<U> value)
Construct a new Relative Immutable DoubleScalar from an existing Relative Immutable DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<U> |
MutableDoubleVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
DoubleScalar.Rel<U> |
DoubleVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Constructor and Description |
|---|
Dense(DoubleScalar.Rel<U>[] values)
Construct a new Relative Dense MutableDoubleVector.
|
Dense(DoubleScalar.Rel<U>[] values)
Construct a new Relative Dense Immutable DoubleVector.
|
Sparse(DoubleScalar.Rel<U>[] values)
Construct a new Relative Sparse MutableDoubleVector.
|
Sparse(DoubleScalar.Rel<U>[] values)
Construct a new Relative Sparse Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<TimeUnit> |
FundamentalDiagram.getAggregationTime() |
DoubleScalar.Rel<LengthUnit> |
TrajectoryPlot.getCumulativeLength(int index)
Retrieve the cumulative length of the sampled path at the end of a path element.
|
DoubleScalar.Rel<LengthUnit> |
ContourPlot.getCumulativeLength(int index)
Retrieve the cumulative length of the sampled path at the end of a path element.
|
DoubleScalar.Rel<LengthUnit> |
FundamentalDiagram.getPosition()
Retrieve the position of the detector.
|
DoubleScalar.Rel<TimeUnit> |
TrajectoryPlot.getSampleInterval() |
| Constructor and Description |
|---|
FundamentalDiagram(String caption,
DoubleScalar.Rel<TimeUnit> aggregationTime,
Lane lane,
DoubleScalar.Rel<LengthUnit> position)
Graph a Fundamental Diagram.
|
FundamentalDiagram(String caption,
DoubleScalar.Rel<TimeUnit> aggregationTime,
Lane lane,
DoubleScalar.Rel<LengthUnit> position)
Graph a Fundamental Diagram.
|
TrajectoryPlot(String caption,
DoubleScalar.Rel<TimeUnit> sampleInterval,
List<Lane> path)
Create a new TrajectoryPlot.
|
| Modifier and Type | Method and Description |
|---|---|
DEVSSimulator<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> |
OTSControlPanel.getSimulator() |
| Constructor and Description |
|---|
SimpleAnimator(DoubleScalar.Abs<TimeUnit> startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a simulation engine with animation; the easy way.
|
SimpleAnimator(DoubleScalar.Abs<TimeUnit> startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a simulation engine with animation; the easy way.
|
SimpleSimulator(DoubleScalar.Abs<TimeUnit> startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a simulation engine without animation; the easy way.
|
SimpleSimulator(DoubleScalar.Abs<TimeUnit> startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a simulation engine without animation; the easy way.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Rel<LengthUnit> |
IDMPropertySet.getS0(CompoundProperty set)
Return the static headway.
|
static DoubleScalar.Rel<TimeUnit> |
IDMPropertySet.getTSafe(CompoundProperty set)
Return the time headway.
|
| Modifier and Type | Method and Description |
|---|---|
static CompoundProperty |
IDMPropertySet.makeIDMPropertySet(String carType,
DoubleScalar.Abs<AccelerationUnit> a,
DoubleScalar.Abs<AccelerationUnit> b,
DoubleScalar.Rel<LengthUnit> s0,
DoubleScalar.Rel<TimeUnit> tSafe,
int displayPriority)
Create a CompoundProperty for the IDM or IDMPlus parameters for a specified car type.
|
static CompoundProperty |
IDMPropertySet.makeIDMPropertySet(String carType,
DoubleScalar.Abs<AccelerationUnit> a,
DoubleScalar.Abs<AccelerationUnit> b,
DoubleScalar.Rel<LengthUnit> s0,
DoubleScalar.Rel<TimeUnit> tSafe,
int displayPriority)
Create a CompoundProperty for the IDM or IDMPlus parameters for a specified car type.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.