Package | Description |
---|---|
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.unit |
Classes for the unit system.
|
org.opentrafficsim.core.value.conversions |
Common conversions that generate results in the correct unit.
|
org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
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<AccelerationUnit> |
DualAccelerationStep.getLeaderAcceleration()
Return the acceleration of the leader.
|
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.
|
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Abs<AccelerationUnit> |
LaneBasedGTU.getAcceleration() |
DoubleScalar.Abs<AccelerationUnit> |
AbstractLaneBasedGTU.getAcceleration() |
DoubleScalar.Abs<AccelerationUnit> |
LaneBasedGTU.getAcceleration(DoubleScalar.Abs<TimeUnit> when) |
DoubleScalar.Abs<AccelerationUnit> |
AbstractLaneBasedGTU.getAcceleration(DoubleScalar.Abs<TimeUnit> when) |
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 |
LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU<?> gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit,
DoubleScalar.Rel<AccelerationUnit> preferredLaneRouteIncentive,
DoubleScalar.Rel<AccelerationUnit> laneChangeThreshold,
DoubleScalar.Rel<AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
static boolean |
SafeLaneChange.safe(GTU<?> referenceGTU,
GTU<?> otherGTU,
DoubleScalar.Rel<AccelerationUnit> maximumDeceleration,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Determine if dangerous decelerations are incurred if a GTU changes into a lane where another GTU is driving.
|
Modifier and Type | Field and Description |
---|---|
static AccelerationUnit |
AccelerationUnit.FOOT_PER_SECOND_2
ft/s^2.
|
static AccelerationUnit |
AccelerationUnit.GAL
standard gravity.
|
static AccelerationUnit |
AccelerationUnit.INCH_PER_SECOND_2
in/s^2.
|
static AccelerationUnit |
AccelerationUnit.KM_PER_HOUR_2
km/h^2.
|
static AccelerationUnit |
AccelerationUnit.KNOT_PER_SECOND
kt/s.
|
static AccelerationUnit |
AccelerationUnit.METER_PER_SECOND_2
m/s^2.
|
static AccelerationUnit |
AccelerationUnit.MILE_PER_HOUR_2
mi/h^2.
|
static AccelerationUnit |
AccelerationUnit.MILE_PER_HOUR_PER_SECOND
mi/h/s.
|
static AccelerationUnit |
AccelerationUnit.MILE_PER_SECOND_2
mi/s^2.
|
static AccelerationUnit |
AccelerationUnit.SI
The SI unit for acceleration is m/s^2.
|
static AccelerationUnit |
AccelerationUnit.STANDARD_GRAVITY
standard gravity.
|
Modifier and Type | Method and Description |
---|---|
AccelerationUnit |
AccelerationUnit.getStandardUnit() |
Constructor and Description |
---|
AccelerationUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
AccelerationUnit referenceUnit,
double conversionFactorToReferenceUnit)
Create a new AccelerationUnit.
|
ForceUnit(MassUnit massUnit,
AccelerationUnit accelerationUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Build a unit with a conversion factor to another unit.
|
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<TimeUnit> |
Calc.speedDividedByAcceleration(DoubleScalar<SpeedUnit> speed,
DoubleScalar.Rel<AccelerationUnit> acceleration)
Time is speed divided by acceleration.
|
static DoubleScalar.Rel<LengthUnit> |
Calc.speedSquaredDividedByDoubleAcceleration(DoubleScalar<SpeedUnit> speed,
DoubleScalar.Abs<AccelerationUnit> acceleration)
(Braking) distance is speed squared divided by two times the acceleration.
|
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.