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.following |
GTU (Car) following models such as IDM+.
|
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.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.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder<ID> |
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder.setInitialSpeed(DoubleScalar.Abs<SpeedUnit> initialSpeed) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setInitialSpeed(DoubleScalar.Abs<SpeedUnit> initialSpeed) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setMaximumVelocity(DoubleScalar.Abs<SpeedUnit> maximumVelocity) |
Constructor and Description |
---|
LaneBasedIndividualCar(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,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(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,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(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,
OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass)
Construct a new LaneBasedIndividualCar.
|
LaneBasedIndividualCar(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,
OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass)
Construct a new LaneBasedIndividualCar.
|
LaneBasedTemplateCar(ID id,
TemplateGTUType<?> templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed) |
LaneBasedTemplateCar(ID id,
TemplateGTUType<?> templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass) |
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<TimeUnit> |
OTSSimTimeDouble.get() |
Modifier and Type | Method and Description |
---|---|
void |
OTSSimTimeDouble.set(DoubleScalar.Abs<TimeUnit> value) |
Constructor and Description |
---|
OTSSimTimeDouble(DoubleScalar.Abs<TimeUnit> time) |
Constructor and Description |
---|
OTSReplication(Context context,
nl.tudelft.simulation.dsol.experiment.Experiment<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> experiment) |
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<SpeedUnit> |
TemplateGTUType.getMaximumVelocity() |
DoubleScalar.Abs<SpeedUnit> |
GTU.getMaximumVelocity() |
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 |
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 |
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 |
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 |
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 |
DoubleScalar.Abs<AccelerationUnit> |
FixedAccelerationModel.getAcceleration()
Retrieve the acceleration of this FixedAccelerationModel.
|
DoubleScalar.Abs<AccelerationUnit> |
AccelerationStep.getAcceleration() |
DoubleScalar.Abs<AccelerationUnit> |
DualAccelerationStep.getFollowerAcceleration()
Return the acceleration of the follower.
|
DoubleScalar.Abs<TimeUnit> |
DualAccelerationStep.getFollowerValidUntil()
Return the time up to which the result of the follower is valid.
|
DoubleScalar.Abs<AccelerationUnit> |
DualAccelerationStep.getLeaderAcceleration()
Return the acceleration of the leader.
|
DoubleScalar.Abs<TimeUnit> |
DualAccelerationStep.getLeaderValidUntil()
Return the time up to which the result of the leader is valid.
|
DoubleScalar.Abs<TimeUnit> |
AccelerationStep.getValidUntil() |
DoubleScalar.Abs<AccelerationUnit> |
SequentialFixedAccelerationModel.maximumSafeDeceleration()
Return the maximum safe deceleration for use in gap acceptance models.
|
DoubleScalar.Abs<AccelerationUnit> |
IDMPlus.maximumSafeDeceleration()
Return the maximum safe deceleration for use in gap acceptance models.
|
DoubleScalar.Abs<AccelerationUnit> |
IDM.maximumSafeDeceleration()
Return the maximum safe deceleration for use in gap acceptance models.
|
DoubleScalar.Abs<AccelerationUnit> |
GTUFollowingModel.maximumSafeDeceleration()
Return the maximum safe deceleration for use in gap acceptance models.
|
DoubleScalar.Abs<AccelerationUnit> |
FixedAccelerationModel.maximumSafeDeceleration()
Return the maximum safe deceleration for use in gap acceptance models.
|
DoubleScalar.Abs<TimeUnit> |
SequentialFixedAccelerationModel.timeAfterCompletionOfStep(int index)
Retrieve the simulation time at the end of the Nth step of this SequentialFixedAccelerationModel.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
Constructor and Description |
---|
SequentialFixedAccelerationModel(nl.tudelft.simulation.dsol.simulators.DEVSSimulator<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> simulator)
Construct a SequentialFixedAccelerationModel with empty list of FixedAccelerationModel steps.
|
SequentialFixedAccelerationModel(nl.tudelft.simulation.dsol.simulators.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 |
---|---|
double |
LaneBasedGTU.fractionalPosition(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, as a fraction
of the length of the lane.
|
double |
AbstractLaneBasedGTU.fractionalPosition(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, as a fraction
of the length of the lane.
|
Map<Lane,Double> |
LaneBasedGTU.fractionalPositions(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, as fractions of the length of the lane.
|
Map<Lane,Double> |
AbstractLaneBasedGTU.fractionalPositions(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, as fractions of the length of the lane.
|
DoubleScalar.Abs<AccelerationUnit> |
LaneBasedGTU.getAcceleration(DoubleScalar.Abs<TimeUnit> when) |
DoubleScalar.Abs<AccelerationUnit> |
AbstractLaneBasedGTU.getAcceleration(DoubleScalar.Abs<TimeUnit> when) |
DoubleScalar.Abs<SpeedUnit> |
LaneBasedGTU.getLongitudinalVelocity(DoubleScalar.Abs<TimeUnit> when)
Return the speed of this GTU at the specified time.
|
DoubleScalar.Abs<SpeedUnit> |
AbstractLaneBasedGTU.getLongitudinalVelocity(DoubleScalar.Abs<TimeUnit> when)
Return the speed of this GTU at the specified time.
|
Set<LaneBasedGTU<?>> |
LaneBasedGTU.parallel(Lane lane,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
AbstractLaneBasedGTU.parallel(Lane lane,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
LaneBasedGTU.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
AbstractLaneBasedGTU.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
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.
|
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.
|
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.
|
String |
AbstractLaneBasedGTU.toString(Lane lane,
DoubleScalar.Abs<TimeUnit> when)
Description of Car at specified time.
|
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<AccelerationUnit> |
Egoistic.applyDriverPersonality(DualAccelerationStep accelerations)
Return the weighted acceleration as described by the personality.
|
DoubleScalar.Abs<AccelerationUnit> |
Altruistic.applyDriverPersonality(DualAccelerationStep accelerationSteps)
Return the weighted acceleration as described by the personality.
|
abstract DoubleScalar.Abs<AccelerationUnit> |
AbstractLaneChangeModel.applyDriverPersonality(DualAccelerationStep accelerationSteps)
Return the weighted acceleration as described by the personality.
|
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.
|
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.Abs<FrequencyUnit> |
Link.getCapacity() |
DoubleScalar.Abs<FrequencyUnit> |
AbstractLink.getCapacity() |
DoubleScalar.Abs<AnglePlaneUnit> |
Node.getDirection() |
DoubleScalar.Abs<AnglePlaneUnit> |
AbstractNode.getDirection() |
DoubleScalar.Abs<AngleSlopeUnit> |
Node.getSlope() |
DoubleScalar.Abs<AngleSlopeUnit> |
AbstractNode.getSlope() |
Modifier and Type | Method and Description |
---|---|
void |
Link.setCapacity(DoubleScalar.Abs<FrequencyUnit> capacity)
Set the link capacity.
|
void |
AbstractLink.setCapacity(DoubleScalar.Abs<FrequencyUnit> capacity) |
Constructor and Description |
---|
AbstractExpansionNode(ID id,
P point,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope,
Network<?,?> network) |
AbstractExpansionNode(ID id,
P point,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope,
Network<?,?> network) |
AbstractLink(IDL id,
N startNode,
N endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
AbstractNode(ID id,
P point,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construction of a Node.
|
AbstractNode(ID id,
P point,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construction of a Node.
|
Modifier and Type | Field and Description |
---|---|
protected DoubleScalar.Abs<AnglePlaneUnit> |
XmlNetworkLaneParser.ArcTag.angle
angle.
|
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.GeneratorTag.endTime
end time of generation.
|
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.GlobalTag.speed
default speed.
|
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.LinkTag.speed
default speed.
|
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.LaneTag.speed
lane speed.
|
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.GeneratorTag.startTime
start time of generation.
|
Modifier and Type | Method and Description |
---|---|
protected DoubleScalar.Abs<LengthUnit> |
XmlNetworkLaneParser.parseLengthAbs(String s) |
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.parseSpeedAbs(String s) |
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.parseTimeAbs(String s) |
Modifier and Type | Method and Description |
---|---|
nl.tudelft.simulation.dsol.simulators.SimulatorInterface<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> |
TestXMLModel.getSimulator() |
Modifier and Type | Method and Description |
---|---|
void |
TestXMLModel.constructModel(nl.tudelft.simulation.dsol.simulators.SimulatorInterface<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> pSimulator) |
Constructor and Description |
---|
TestXMLParser(String title,
nl.tudelft.simulation.dsol.gui.swing.DSOLPanel<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> panel) |
Constructor and Description |
---|
LinkGeotools.INT(int id,
NodeGeotools.INT startNode,
NodeGeotools.INT endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
LinkGeotools.STR(String id,
NodeGeotools.STR startNode,
NodeGeotools.STR 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,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
NodeGeotools.INT(int id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
NodeGeotools.INT(int id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
NodeGeotools.STR(String id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
NodeGeotools.STR(String id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
NodeGeotools(ID id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
NodeGeotools(ID id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<FrequencyUnit> |
Lane.getCapacity() |
DoubleScalar.Abs<LengthUnit> |
Sensor.getLongitudinalPosition() |
DoubleScalar.Abs<LengthUnit> |
LaneLocation.getLongitudinalPosition() |
DoubleScalar.Abs<LengthUnit> |
AbstractSensor.getLongitudinalPosition() |
Modifier and Type | Method and Description |
---|---|
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) |
void |
Lane.setCapacity(DoubleScalar.Abs<FrequencyUnit> capacity) |
Constructor and Description |
---|
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) |
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) |
Modifier and Type | Method and Description |
---|---|
static DoubleScalar.Abs<AccelerationUnit> |
Calc.deltaSpeedDividedByTime(DoubleScalar.Rel<SpeedUnit> speedDifference,
DoubleScalar.Rel<TimeUnit> timeDifference)
Acceleration is speed difference divided by time difference.
|
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.
|
static DoubleScalar.Rel<LengthUnit> |
Calc.accelerationTimesTimeSquaredDiv2(DoubleScalar.Abs<AccelerationUnit> acceleration,
DoubleScalar.Rel<TimeUnit> time)
Distance is 0.5 times acceleration times time squared.
|
static DoubleScalar.Rel<LengthUnit> |
Calc.speedSquaredDividedByDoubleAcceleration(DoubleScalar<SpeedUnit> speed,
DoubleScalar.Abs<AccelerationUnit> acceleration)
(Braking) distance is speed squared divided by two times the acceleration.
|
static DoubleScalar.Rel<LengthUnit> |
Calc.speedTimesTime(DoubleScalar.Abs<SpeedUnit> speed,
DoubleScalar.Rel<TimeUnit> time)
Distance is speed times time.
|
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<U> |
MutableDoubleMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
DoubleScalar.Abs<U> |
DoubleMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
Constructor and Description |
---|
DoubleMatrix.Abs.Dense(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Dense Immutable DoubleMatrix.
|
DoubleMatrix.Abs.Sparse(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Sparse Immutable DoubleMatrix.
|
MutableDoubleMatrix.Abs.Dense(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Dense MutableDoubleMatrix.
|
MutableDoubleMatrix.Abs.Sparse(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Sparse MutableDoubleMatrix.
|
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.copy()
Create a deep copy of this Value.
|
DoubleScalar.Abs<U> |
DistDiscreteDoubleScalar.Abs.draw() |
DoubleScalar.Abs<U> |
DistContinuousDoubleScalar.Abs.draw() |
DoubleScalar.Abs<U> |
MutableDoubleScalar.Abs.immutable()
Make (immutable) DoubleScalar equivalent for any type of MutableDoubleScalar.
|
Modifier and Type | Method and Description |
---|---|
int |
DoubleScalar.Abs.compareTo(DoubleScalar.Abs<U> o) |
static MutableDoubleScalar.Abs<SIUnit> |
DoubleScalar.divide(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static MutableDoubleScalar.Abs<SIUnit> |
DoubleScalar.divide(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Abs<U> zero,
DoubleScalar.Abs<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Abs<U> zero,
DoubleScalar.Abs<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> valueAbs1,
DoubleScalar.Abs<U> valueAbs2)
Subtract two absolute values.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> valueAbs1,
DoubleScalar.Abs<U> valueAbs2)
Subtract two absolute values.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
static MutableDoubleScalar.Abs<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static MutableDoubleScalar.Abs<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
Constructor and Description |
---|
DoubleScalar.Abs(DoubleScalar.Abs<U> value)
Construct a new Absolute Immutable DoubleScalar from an existing Absolute Immutable DoubleScalar.
|
MutableDoubleScalar.Abs(DoubleScalar.Abs<U> value)
Construct a new Absolute MutableDoubleScalar from an existing Absolute Immutable DoubleScalar.
|
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<U> |
MutableDoubleVector.Abs.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
DoubleScalar.Abs<U> |
DoubleVector.Abs.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
Constructor and Description |
---|
DoubleVector.Abs.Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable DoubleVector.
|
DoubleVector.Abs.Sparse(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Sparse Immutable DoubleVector.
|
MutableDoubleVector.Abs.Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense MutableDoubleVector.
|
MutableDoubleVector.Abs.Sparse(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Sparse MutableDoubleVector.
|
Modifier and Type | Field and Description |
---|---|
protected static DoubleScalar.Abs<TimeUnit> |
ContourPlot.INITIALLOWERTIMEBOUND
Initial lower bound for the time scale.
|
protected static DoubleScalar.Abs<TimeUnit> |
ContourPlot.INITIALUPPERTIMEBOUND
Initial upper bound for the time scale.
|
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<TimeUnit> |
TrajectoryPlot.getMaximumTime() |
Modifier and Type | Method and Description |
---|---|
void |
TrajectoryPlot.setMaximumTime(DoubleScalar.Abs<TimeUnit> maximumTime) |
Modifier and Type | Method and Description |
---|---|
static DoubleScalar.Abs<AccelerationUnit> |
IDMPropertySet.getA(CompoundProperty set)
Return the maximum acceleration.
|
static DoubleScalar.Abs<AccelerationUnit> |
IDMPropertySet.getB(CompoundProperty set)
Return the maximum comfortable deceleration.
|
Modifier and Type | Method and Description |
---|---|
nl.tudelft.simulation.dsol.gui.swing.DSOLPanel<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> |
SimpleSimulator.getPanel()
To use in a Swing application add the DSOLPanel to a JFrame.
|
nl.tudelft.simulation.dsol.simulators.DEVSSimulator<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> |
SimpleSimulator.getSimulator()
Access to the simulator is needed to create simulated objects.
|
nl.tudelft.simulation.dsol.simulators.DEVSSimulator<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> |
ControlPanel.getSimulator() |
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.
|
void |
SimpleSimulator.runUpTo(DoubleScalar.Abs<TimeUnit> when)
Run the simulation up to the specified time.
|
Constructor and Description |
---|
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,
Rectangle2D extent)
Create a simulation engine with animation; the easy way.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.