| 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.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.Abs<SpeedUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getInitialSpeed() |
DoubleScalar.Abs<SpeedUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getMaximumVelocity() |
| 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) |
| 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(Experiment<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> experiment) |
| Modifier and Type | Field and Description |
|---|---|
protected DoubleScalar.Abs<LengthUnit> |
AbstractGTU.odometer
Total traveled distance.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<AccelerationUnit> |
GTU.getAcceleration() |
DoubleScalar.Abs<SpeedUnit> |
TemplateGTUType.getMaximumVelocity() |
DoubleScalar.Abs<SpeedUnit> |
GTU.getMaximumVelocity() |
abstract DoubleScalar.Abs<LengthUnit> |
AbstractGTU.getOdometer()
Retrieve the odometer value.
|
DoubleScalar.Abs<SpeedUnit> |
GTU.getVelocity() |
| Constructor and Description |
|---|
AccelerationGTUColorer(DoubleScalar.Abs<AccelerationUnit> maximumDeceleration,
DoubleScalar.Abs<AccelerationUnit> maximumAcceleration)
Construct a new AccelerationGTUColorer.
|
AccelerationGTUColorer(DoubleScalar.Abs<AccelerationUnit> maximumDeceleration,
DoubleScalar.Abs<AccelerationUnit> maximumAcceleration)
Construct a new AccelerationGTUColorer.
|
VelocityGTUColorer(DoubleScalar.Abs<SpeedUnit> maximumSpeed)
Construct a new SpeedGTUColorer.
|
| 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. |
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 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. |
| 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 |
|---|---|
DoubleScalar.Abs<TimeUnit> |
AbstractGTUGenerator.getEndTime() |
DoubleScalar.Abs<TimeUnit> |
AbstractGTUGenerator.getStartTime() |
| Modifier and Type | Method and Description |
|---|---|
double |
LaneBlock.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 |
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> |
LaneBlock.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> |
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> |
LaneBlock.getAcceleration(DoubleScalar.Abs<TimeUnit> when) |
DoubleScalar.Abs<AccelerationUnit> |
LaneBasedGTU.getAcceleration(DoubleScalar.Abs<TimeUnit> when) |
DoubleScalar.Abs<AccelerationUnit> |
AbstractLaneBasedGTU.getAcceleration(DoubleScalar.Abs<TimeUnit> when) |
DoubleScalar.Abs<SpeedUnit> |
LaneBlock.getLongitudinalVelocity(DoubleScalar.Abs<TimeUnit> when)
Return the speed of this GTU at the specified time.
|
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<?>> |
LaneBlock.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(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<?>> |
LaneBlock.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<?>> |
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> |
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.
|
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.
|
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.
|
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<?,AbstractExpansionNode<ID,P>,Link<?,AbstractExpansionNode<ID,P>>> network) |
AbstractExpansionNode(ID id,
P point,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope,
Network<?,AbstractExpansionNode<ID,P>,Link<?,AbstractExpansionNode<ID,P>>> 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<LinearDensityUnit> |
XmlNetworkLaneParser.ShortestRouteTag.costPerDistance
distance unit for the "cost" per time.
|
protected DoubleScalar.Abs<FrequencyUnit> |
XmlNetworkLaneParser.ShortestRouteTag.costPerTime
time unit for the "cost" per time.
|
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.RoadTypeTag.speed
default speed.
|
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.CrossSectionElementTag.speed
speed limit.
|
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.LaneOverrideTag.speed
speed limit.
|
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.GeneratorTag.startTime
start time of generation.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleScalar.Abs<AnglePlaneUnit> |
XmlNetworkLaneParser.parseAngleAbs(String s) |
protected DoubleScalar.Abs<LengthUnit> |
XmlNetworkLaneParser.parseLengthAbs(String s) |
protected DoubleScalar.Abs<LinearDensityUnit> |
XmlNetworkLaneParser.parsePerLengthAbs(String s) |
protected DoubleScalar.Abs<FrequencyUnit> |
XmlNetworkLaneParser.parsePerTimeAbs(String s) |
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.parseSpeedAbs(String s) |
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.parseTimeAbs(String s) |
| Modifier and Type | Method and Description |
|---|---|
static Lane |
LaneFactory.makeLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
LaneType<String> laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
OTSDEVSSimulatorInterface simulator)
Create a simple Lane.
|
static Lane[] |
LaneFactory.makeMultiLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType<String> 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,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
int laneCount,
LaneType<String> laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
OTSDEVSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
| Constructor and Description |
|---|
INT(int id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
INT(int id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
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,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
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.
|
STR(String id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
STR(String id,
com.vividsolutions.jts.geom.Coordinate coordinate,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope)
Construct a new Node.
|
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.Abs<FrequencyUnit> |
Lane.getCapacity() |
DoubleScalar.Abs<LengthUnit> |
Sensor.getLongitudinalPosition() |
DoubleScalar.Abs<LengthUnit> |
LaneLocation.getLongitudinalPosition() |
DoubleScalar.Abs<LengthUnit> |
AbstractSensor.getLongitudinalPosition() |
DoubleScalar.Abs<SpeedUnit> |
Lane.getSpeedLimit() |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<AnglePlaneUnit> |
AnglePlaneUnit.normalize(DoubleScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<AnglePlaneUnit> |
AnglePlaneUnit.normalize(DoubleScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| 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 |
|---|
Dense(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Dense MutableDoubleMatrix.
|
Dense(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Dense Immutable DoubleMatrix.
|
Sparse(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Sparse MutableDoubleMatrix.
|
Sparse(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Sparse Immutable DoubleMatrix.
|
| 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.
|
boolean |
MutableDoubleScalar.Abs.eq(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is equal to a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.eq(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is equal to a DoubleScalar.Abs<U>.
|
boolean |
MutableDoubleScalar.Abs.ge(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is greater than a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.ge(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is greater than a DoubleScalar.Abs<U>.
|
boolean |
MutableDoubleScalar.Abs.gt(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is greater than or equal to a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.gt(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is greater than or equal to a DoubleScalar.Abs<U>.
|
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.
|
boolean |
MutableDoubleScalar.Abs.le(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is less than or equal to a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.le(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is less than or equal to a DoubleScalar.Abs<U>.
|
boolean |
MutableDoubleScalar.Abs.lt(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is less than a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.lt(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is less than a DoubleScalar.Abs<U>.
|
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.
|
boolean |
MutableDoubleScalar.Abs.ne(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is not equal to a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.ne(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is not equal to a DoubleScalar.Abs<U>.
|
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 |
|---|
Abs(DoubleScalar.Abs<U> value)
Construct a new Absolute MutableDoubleScalar from an existing Absolute Immutable DoubleScalar.
|
Abs(DoubleScalar.Abs<U> value)
Construct a new Absolute Immutable DoubleScalar 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 |
|---|
Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense MutableDoubleVector.
|
Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Sparse(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Sparse MutableDoubleVector.
|
Sparse(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Sparse Immutable DoubleVector.
|
| 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 |
|---|---|
DEVSSimulator<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> |
OTSControlPanel.getSimulator() |
| Modifier and Type | Method and Description |
|---|---|
SimEvent<OTSSimTimeDouble> |
SimpleSimulator.scheduleEvent(DoubleScalar.Abs<TimeUnit> executionTime,
short priority,
Object source,
Object target,
String method,
Object[] args)
Construct and schedule a SimEvent using a DoubleScalar.Abs<TimeUnit> to specify the execution time.
|
SimEvent<OTSSimTimeDouble> |
SimpleSimulation.scheduleEvent(DoubleScalar.Abs<TimeUnit> executionTime,
short priority,
Object source,
Object target,
String method,
Object[] args)
Construct and schedule a SimEvent using a DoubleScalar.Abs<TimeUnit> to specify the execution time.
|
SimEvent<OTSSimTimeDouble> |
SimpleAnimator.scheduleEvent(DoubleScalar.Abs<TimeUnit> executionTime,
short priority,
Object source,
Object target,
String method,
Object[] args)
Construct and schedule a SimEvent using a DoubleScalar.Abs<TimeUnit> to specify the execution time.
|
| 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.
|
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.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 |
|---|---|
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.