| Package | Description |
|---|---|
| org.opentrafficsim.core.dsol |
Extensions of the DSOL simulator interfaces and classes for OTS units.
|
| 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.network.factory |
Factories for Links, Lanes, Nodes.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| org.opentrafficsim.core.unit |
Classes for the unit system.
|
| org.opentrafficsim.core.value.conversions |
Common conversions that generate results in the correct unit.
|
| org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
| org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<TimeUnit> |
OTSSimTimeDouble.get() |
DoubleScalar.Rel<TimeUnit> |
OTSSimTimeDouble.minus(OTSSimTimeDouble absoluteTime) |
protected DoubleScalar.Rel<TimeUnit> |
OTSDEVSRealTimeClock.relativeMillis(double factor) |
| Modifier and Type | Method and Description |
|---|---|
void |
OTSSimTimeDouble.add(DoubleScalar.Rel<TimeUnit> simTime) |
void |
OTSSimTimeDouble.set(DoubleScalar.Abs<TimeUnit> value) |
void |
OTSSimTimeDouble.subtract(DoubleScalar.Rel<TimeUnit> simTime) |
| Constructor and Description |
|---|
OTSReplication(Context context,
Experiment<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> experiment) |
OTSReplication(Context context,
Experiment<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> experiment) |
OTSReplication(String id,
OTSSimTimeDouble startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a new OTSReplication.
|
OTSReplication(String id,
OTSSimTimeDouble startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a new OTSReplication.
|
OTSSimTimeDouble(DoubleScalar.Abs<TimeUnit> time) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<TimeUnit> |
FixedAccelerationModel.getDuration()
Retrieve the duration of this FixedAccelerationModel.
|
DoubleScalar.Abs<TimeUnit> |
DualAccelerationStep.getFollowerValidUntil()
Return the time up to which the result of the follower is valid.
|
DoubleScalar.Abs<TimeUnit> |
DualAccelerationStep.getLeaderValidUntil()
Return the time up to which the result of the leader is valid.
|
DoubleScalar.Rel<TimeUnit> |
SequentialFixedAccelerationModel.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
IDMPlus.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
IDM.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
GTUFollowingModel.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Rel<TimeUnit> |
FixedAccelerationModel.getStepSize()
Return the step size of this GTU following model.
|
DoubleScalar.Abs<TimeUnit> |
AccelerationStep.getValidUntil() |
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<TimeUnit> |
AbstractGTUGenerator.getEndTime() |
DistContinuousDoubleScalar.Rel<TimeUnit> |
AbstractGTUGenerator.getInterarrivelTimeDist() |
DoubleScalar.Abs<TimeUnit> |
AbstractGTUGenerator.getStartTime() |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<TimeUnit> |
LaneBasedGTU.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
DoubleScalar.Rel<TimeUnit> |
AbstractLaneBasedGTU.deltaTimeForDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time since last evaluation when this GTU has covered the specified distance from the position of the last
evaluation time.
|
DoubleScalar.Abs<TimeUnit> |
LaneBasedGTU.getLastEvaluationTime() |
DoubleScalar.Abs<TimeUnit> |
AbstractLaneBasedGTU.getLastEvaluationTime() |
DoubleScalar.Abs<TimeUnit> |
LaneBasedGTU.getNextEvaluationTime() |
DoubleScalar.Abs<TimeUnit> |
AbstractLaneBasedGTU.getNextEvaluationTime() |
DoubleScalar.Abs<TimeUnit> |
LaneBasedGTU.timeAtDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time when this GTU will have covered the specified distance from the position of the last evaluation time.
|
DoubleScalar.Abs<TimeUnit> |
AbstractLaneBasedGTU.timeAtDistance(DoubleScalar.Rel<LengthUnit> distance)
Determine the time when this GTU will have covered the specified distance from the position of the last evaluation time.
|
| 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 | Field and Description |
|---|---|
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser2.GeneratorTag.endTime
end time of generation.
|
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.GeneratorTag.endTime
end time of generation.
|
protected DistContinuousDoubleScalar.Rel<TimeUnit> |
XmlNetworkLaneParser2.GeneratorTag.iatDist
interarrival time.
|
protected DistContinuousDoubleScalar.Rel<TimeUnit> |
XmlNetworkLaneParser.GeneratorTag.iatDist
interarrival time.
|
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser2.GeneratorTag.startTime
start time of generation.
|
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.GeneratorTag.startTime
start time of generation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestXMLStringModel.constructModel(SimulatorInterface<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> pSimulator) |
void |
TestXMLStringModel.constructModel(SimulatorInterface<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> pSimulator) |
void |
TestXMLModel.constructModel(SimulatorInterface<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> pSimulator) |
void |
TestXMLModel.constructModel(SimulatorInterface<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> pSimulator) |
| Constructor and Description |
|---|
TestXMLParser(String title,
DSOLPanel<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> panel) |
TestXMLParser(String title,
DSOLPanel<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> panel) |
TestXMLStringParser(String title,
DSOLPanel<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> panel) |
TestXMLStringParser(String title,
DSOLPanel<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> panel) |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
Route.suitability(Lane lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType,
DoubleScalar.Rel<TimeUnit> timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this
Route.
|
| Modifier and Type | Field and Description |
|---|---|
static TimeUnit |
TimeUnit.DAY
day.
|
static TimeUnit |
TimeUnit.HOUR
hour.
|
static TimeUnit |
TimeUnit.MILLISECOND
millisecond.
|
static TimeUnit |
TimeUnit.MINUTE
minute.
|
static TimeUnit |
TimeUnit.SECOND
second.
|
static TimeUnit |
TimeUnit.SI
The SI unit for time is second.
|
static TimeUnit |
TimeUnit.WEEK
week.
|
| Modifier and Type | Method and Description |
|---|---|
TimeUnit |
TimeUnit.getStandardUnit() |
TimeUnit |
TorqueUnit.getTimeUnit() |
TimeUnit |
SpeedUnit.getTimeUnit() |
TimeUnit |
PressureUnit.getTimeUnit() |
TimeUnit |
PowerUnit.getTimeUnit() |
TimeUnit |
FrequencyUnit.getTimeUnit() |
TimeUnit |
ForceUnit.getTimeUnit() |
TimeUnit |
FlowVolumeUnit.getTimeUnit() |
TimeUnit |
FlowMassUnit.getTimeUnit() |
TimeUnit |
EnergyUnit.getTimeUnit() |
TimeUnit |
ElectricalResistanceUnit.getTimeUnit() |
TimeUnit |
ElectricalPotentialUnit.getTimeUnit() |
TimeUnit |
ElectricalChargeUnit.getTimeUnit() |
TimeUnit |
AccelerationUnit.getTimeUnit() |
| Constructor and Description |
|---|
AccelerationUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define acceleration units based on length and time.
|
AccelerationUnit(SpeedUnit speedUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define acceleration units based on speed and time.
|
ElectricalChargeUnit(ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
ElectricalPotentialUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
ElectricalResistanceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
FlowMassUnit(MassUnit massUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a flow-massunit based on mass and time.
|
FlowVolumeUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a flow-volumeunit based on length (cubed) per time unit.
|
FlowVolumeUnit(VolumeUnit volumeUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a flow-volumeunit based as a volume unit per time unit.
|
ForceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Build a standard unit.
|
FrequencyUnit(TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define frequency unit based on time.
|
PowerUnit(LengthUnit lengthUnit,
ForceUnit forceUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
PowerUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Construct a pressure unit from mass, length and time units.
|
SpeedUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Build a speed unit from a length unit and a time unit.
|
TimeUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
TimeUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a unit with a conversion factor to another unit.
|
TorqueUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a torque unit from mass, length and time units.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Rel<TimeUnit> |
Calc.speedDividedByAcceleration(DoubleScalar<SpeedUnit> speed,
DoubleScalar.Rel<AccelerationUnit> acceleration)
Time is speed divided by acceleration.
|
| 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.Rel<TimeUnit> |
FundamentalDiagram.getAggregationTime() |
DoubleScalar.Abs<TimeUnit> |
TrajectoryPlot.getMaximumTime() |
DoubleScalar.Rel<TimeUnit> |
TrajectoryPlot.getSampleInterval() |
| Modifier and Type | Method and Description |
|---|---|
void |
TrajectoryPlot.setMaximumTime(DoubleScalar.Abs<TimeUnit> maximumTime) |
| Constructor and Description |
|---|
FundamentalDiagram(String caption,
DoubleScalar.Rel<TimeUnit> aggregationTime,
Lane lane,
DoubleScalar.Rel<LengthUnit> position)
Graph a Fundamental Diagram.
|
TrajectoryPlot(String caption,
DoubleScalar.Rel<TimeUnit> sampleInterval,
List<Lane> path)
Create a new TrajectoryPlot.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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,
Rectangle2D extent)
Create a simulation engine with animation; the easy way.
|
SimpleAnimator(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.
|
SimpleAnimator(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.
|
SimpleSimulator(DoubleScalar.Abs<TimeUnit> startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a simulation engine without animation; the easy way.
|
SimpleSimulator(DoubleScalar.Abs<TimeUnit> startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a simulation engine without animation; the easy way.
|
SimpleSimulator(DoubleScalar.Abs<TimeUnit> startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a simulation engine without animation; the easy way.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.