| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| 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 according to some prescription.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel 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.gtu2 |
New implementation of the GTU in multiple modules.
|
| org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
| org.opentrafficsim.core.network.factory.xml.units |
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| 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.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<SpeedUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getInitialSpeed() |
DoubleScalar.Abs<SpeedUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getMaximumVelocity() |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder |
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder.setInitialSpeed(DoubleScalar.Abs<SpeedUnit> initialSpeed) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setInitialSpeed(DoubleScalar.Abs<SpeedUnit> initialSpeed) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setMaximumVelocity(DoubleScalar.Abs<SpeedUnit> maximumVelocity) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<SpeedUnit> |
TemplateGTUType.getMaximumVelocity() |
DoubleScalar.Abs<SpeedUnit> |
GTU.getMaximumVelocity() |
DoubleScalar.Abs<SpeedUnit> |
GTU.getVelocity() |
| Constructor and Description |
|---|
TemplateGTUType(String id,
DistContinuousDoubleScalar.Rel<LengthUnit> lengthDist,
DistContinuousDoubleScalar.Rel<LengthUnit> widthDist,
DistContinuousDoubleScalar.Abs<SpeedUnit> maximumSpeedDist,
OTSDEVSSimulatorInterface simulator) |
| Constructor and Description |
|---|
VelocityGTUColorer(DoubleScalar.Abs<SpeedUnit> maximumSpeed)
Construct a new VelocityGTUColorer.
|
| 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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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. |
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. |
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. |
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. |
DualAccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. 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. |
DualAccelerationStep |
AbstractGTUFollowingModel.computeAcceleration(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. 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 |
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. |
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. |
AccelerationStep |
GTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU gtu,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU gtu,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
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> |
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> |
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> |
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. |
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. |
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. |
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 |
|---|---|
DistContinuousDoubleScalar.Abs<SpeedUnit> |
AbstractGTUGenerator.getInitialSpeedDist() |
DistContinuousDoubleScalar.Abs<SpeedUnit> |
GTUGeneratorIndividual.getMaximumSpeedDist() |
abstract DistContinuousDoubleScalar.Abs<SpeedUnit> |
AbstractGTUGenerator.getMaximumSpeedDist() |
| 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 |
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.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<SpeedUnit> |
GTU.getMaximumVelocity() |
DoubleScalar.Abs<SpeedUnit> |
GTU.getVelocity() |
| Modifier and Type | Method and Description |
|---|---|
static Lane |
LaneFactory.makeLane(String name,
OTSNode from,
OTSNode to,
OTSPoint3D[] intermediatePoints,
LaneType laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
OTSDEVSSimulatorInterface simulator)
Create a simple Lane.
|
static Lane[] |
LaneFactory.makeMultiLane(String name,
OTSNode from,
OTSNode to,
OTSPoint3D[] intermediatePoints,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
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,
OTSNode from,
OTSNode to,
OTSPoint3D[] intermediatePoints,
int laneCount,
LaneType laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
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 |
|---|---|
static Map<String,SpeedUnit> |
SpeedUnits.SPEED_UNITS
the speed units.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<SpeedUnit> |
SpeedUnits.parseSpeedAbs(String s) |
static DistContinuousDoubleScalar.Abs<SpeedUnit> |
Distributions.parseSpeedDistAbs(String s)
Parse an absolute speed distribution, e.g.
|
static DistContinuousDoubleScalar.Rel<SpeedUnit> |
Distributions.parseSpeedDistRel(String s)
Parse a relative speed distribution, e.g.
|
static DoubleScalar.Rel<SpeedUnit> |
SpeedUnits.parseSpeedRel(String s) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<SpeedUnit> |
Lane.getSpeedLimit(GTUType gtuType) |
| Constructor and Description |
|---|
Lane(CrossSectionLink parentLink,
String id,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
Lane(CrossSectionLink parentLink,
String id,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType laneType,
Map<GTUType,LongitudinalDirectionality> directionalityMap,
Map<GTUType,DoubleScalar.Abs<SpeedUnit>> speedLimitMap) |
| Modifier and Type | Field and Description |
|---|---|
static SpeedUnit |
SpeedUnit.FOOT_PER_SECOND
ft/s.
|
static SpeedUnit |
SpeedUnit.KM_PER_HOUR
km/h.
|
static SpeedUnit |
SpeedUnit.KNOT
knot.
|
static SpeedUnit |
SpeedUnit.METER_PER_SECOND
m/s.
|
static SpeedUnit |
SpeedUnit.MILE_PER_HOUR
mile/h.
|
static SpeedUnit |
SpeedUnit.SI
The SI unit for velocity is m/s.
|
| Modifier and Type | Method and Description |
|---|---|
SpeedUnit |
SpeedUnit.getStandardUnit() |
| Constructor and Description |
|---|
AccelerationUnit(SpeedUnit speedUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define acceleration units based on speed and time.
|
SpeedUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
SpeedUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a speed unit based on another speed unit.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Rel<SpeedUnit> |
Calc.accelerationTimesTime(DoubleScalar.Abs<AccelerationUnit> acceleration,
DoubleScalar.Rel<TimeUnit> time)
Speed is acceleration times time.
|
| Modifier and Type | Field and Description |
|---|---|
static SpeedUnit |
DOUBLE_SCALAR.FOOT_PER_SECOND |
static SpeedUnit |
DOUBLE_SCALAR.FTPS |
static SpeedUnit |
DOUBLE_SCALAR.KM_PER_HOUR |
static SpeedUnit |
DOUBLE_SCALAR.KMPH |
static SpeedUnit |
DOUBLE_SCALAR.KNOT |
static SpeedUnit |
DOUBLE_SCALAR.METER_PER_SECOND |
static SpeedUnit |
DOUBLE_SCALAR.MILE_PER_HOUR |
static SpeedUnit |
DOUBLE_SCALAR.MPH |
static SpeedUnit |
DOUBLE_SCALAR.MPS |
| Constructor and Description |
|---|
Abs(double value,
SpeedUnit unit) |
Rel(double value,
SpeedUnit unit) |
Speed(SpeedUnit unit) |
| Constructor and Description |
|---|
Abs(DoubleScalar.Abs<SpeedUnit> value) |
Abs(MutableDoubleScalar.Abs<SpeedUnit> value) |
Rel(DoubleScalar.Rel<SpeedUnit> value) |
Rel(MutableDoubleScalar.Rel<SpeedUnit> value) |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.