| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.geometry |
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.animation |
GTU animations.
|
| org.opentrafficsim.core.gtu.following |
GTU (Car) following models such as IDM+.
|
| org.opentrafficsim.core.gtu.generator |
Generate GTUs according to some prescription.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.factory.xml.units |
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.core.network.lane.stop |
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| 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.properties |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getInitialLongitudinalPositions() |
DoubleScalar.Rel<LengthUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getLength() |
DoubleScalar.Rel<LengthUnit> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getWidth() |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder<ID> |
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder.setInitialLongitudinalPositions(Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setInitialLongitudinalPositions(Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setLength(DoubleScalar.Rel<LengthUnit> length) |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setWidth(DoubleScalar.Rel<LengthUnit> width) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
OTSPoint3D.distance(OTSPoint3D point) |
DoubleScalar.Rel<LengthUnit> |
OTSLine3D.getLength() |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
RelativePosition.getDx() |
DoubleScalar.Rel<LengthUnit> |
RelativePosition.getDy() |
DoubleScalar.Rel<LengthUnit> |
RelativePosition.getDz() |
DoubleScalar.Rel<LengthUnit> |
TemplateGTUType.getLength() |
DoubleScalar.Rel<LengthUnit> |
GTU.getLength() |
DoubleScalar.Abs<LengthUnit> |
GTU.getOdometer()
Retrieve the odometer value.
|
DoubleScalar.Rel<LengthUnit> |
TemplateGTUType.getWidth() |
DoubleScalar.Rel<LengthUnit> |
GTU.getWidth() |
| Modifier and Type | Field and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneChangeUrgeGTUColorer.LaneChangeDistanceAndDirection.distance
The distance available to complete the next required lane change.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneChangeUrgeGTUColorer.LaneChangeDistanceAndDirection.getDistance()
Retrieve the distance available to complete the next required lane change.
|
| Constructor and Description |
|---|
LaneChangeDistanceAndDirection(DoubleScalar.Rel<LengthUnit> distance,
Boolean left)
Construct a new LaneChangeDistanceAndDirection object.
|
LaneChangeUrgeGTUColorer(DoubleScalar.Rel<LengthUnit> minimumLaneChangeDistance,
DoubleScalar.Rel<LengthUnit> horizon)
Construct a new LaneChangeUrgeGTUColorer.
|
LaneChangeUrgeGTUColorer(DoubleScalar.Rel<LengthUnit> minimumLaneChangeDistance,
DoubleScalar.Rel<LengthUnit> horizon)
Construct a new LaneChangeUrgeGTUColorer.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
HeadwayGTU.getDistance()
Retrieve the strongly typed distance to the other GTU.
|
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. |
| 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. |
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. |
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. |
| Constructor and Description |
|---|
IDM(DoubleScalar.Abs<AccelerationUnit> a,
DoubleScalar.Abs<AccelerationUnit> b,
DoubleScalar.Rel<LengthUnit> s0,
DoubleScalar.Rel<TimeUnit> tSafe,
double delta)
Construct a new IDM car following model.
|
IDMPlus(DoubleScalar.Abs<AccelerationUnit> a,
DoubleScalar.Abs<AccelerationUnit> b,
DoubleScalar.Rel<LengthUnit> s0,
DoubleScalar.Rel<TimeUnit> tSafe,
double delta)
Construct a new IDMPlus car following model.
|
| Modifier and Type | Method and Description |
|---|---|
DistContinuousDoubleScalar.Rel<LengthUnit> |
GTUGeneratorIndividual.getLengthDist() |
abstract DistContinuousDoubleScalar.Rel<LengthUnit> |
AbstractGTUGenerator.getLengthDist() |
DistContinuousDoubleScalar.Rel<LengthUnit> |
GTUGeneratorIndividual.getWidthDist() |
abstract DistContinuousDoubleScalar.Rel<LengthUnit> |
AbstractGTUGenerator.getWidthDist() |
| Modifier and Type | Method and Description |
|---|---|
HeadwayGTU |
AbstractGTUGenerator.headway(DoubleScalar.Rel<LengthUnit> maxDistance,
LaneBasedRouteNavigator routeNavigator,
Lane<?,?> generatorLane)
Check the available headway for GTU that is about to be constructed.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneBlockOnOff.getLength() |
DoubleScalar.Rel<LengthUnit> |
LaneBlock.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedTemplateGTU.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedIndividualGTU.getLength() |
DoubleScalar.Abs<LengthUnit> |
LaneBlockOnOff.getOdometer()
Retrieve the odometer value.
|
DoubleScalar.Abs<LengthUnit> |
LaneBlock.getOdometer()
Retrieve the odometer value.
|
DoubleScalar.Abs<LengthUnit> |
AbstractLaneBasedGTU.getOdometer()
Retrieve the odometer value.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlockOnOff.getWidth() |
DoubleScalar.Rel<LengthUnit> |
LaneBlock.getWidth() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedTemplateGTU.getWidth() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedIndividualGTU.getWidth() |
DoubleScalar.Rel<LengthUnit> |
LaneBlockOnOff.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlock.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
LaneBasedGTU.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedGTU.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlockOnOff.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> |
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>> |
LaneBlockOnOff.positions(RelativePosition relativePosition)
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>> |
LaneBlock.positions(RelativePosition relativePosition)
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)
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)
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>> |
LaneBlockOnOff.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>> |
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> |
LaneBlockOnOff.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> |
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LaneBlockOnOff.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
LaneBlock.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
LaneBasedGTU.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
AbstractLaneBasedGTU.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
DoubleScalar.Rel<TimeUnit> |
LaneBlockOnOff.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> |
LaneBlock.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> |
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.
|
HeadwayGTU |
LaneBlockOnOff.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBlock.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBasedGTU.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
AbstractLaneBasedGTU.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBlockOnOff.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
LaneBlock.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
LaneBasedGTU.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
AbstractLaneBasedGTU.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
DoubleScalar.Abs<TimeUnit> |
LaneBlockOnOff.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> |
LaneBlock.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> |
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 |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LinkLocation.distance(LinkLocation<LINKID,NODEID> loc)
Returns the distance to another LinkLocation.
|
DoubleScalar.Rel<LengthUnit> |
OTSLink.getLength() |
DoubleScalar.Rel<LengthUnit> |
Link.getLength() |
DoubleScalar.Rel<LengthUnit> |
LinkLocation.getLongitudinalPosition() |
| Constructor and Description |
|---|
LinkLocation(Link<LINKID,NODEID> link,
DoubleScalar.Rel<LengthUnit> position) |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,LengthUnit> |
LengthUnits.LENGTH_UNITS
the length units.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<LengthUnit> |
LengthUnits.parseLengthAbs(String s) |
static DistContinuousDoubleScalar.Abs<LengthUnit> |
Distributions.parseLengthDistAbs(String s)
Parse an absolute length distribution, e.g.
|
static DistContinuousDoubleScalar.Rel<LengthUnit> |
Distributions.parseLengthDistRel(String s)
Parse a relative length distribution, e.g.
|
static DoubleScalar.Rel<LengthUnit> |
LengthUnits.parseLengthRel(String s) |
| Modifier and Type | Field and Description |
|---|---|
protected DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.beginWidth
Start width, positioned symmetrically around the lateral start position.
|
protected DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.designLineOffsetAtBegin
The lateral offset from the design line of the parentLink at the start of the parentLink.
|
protected DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.designLineOffsetAtEnd
The lateral offset from the design line of the parentLink at the end of the parentLink.
|
protected DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.endWidth
End width, positioned symmetrically around the lateral end position.
|
protected DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.length
The length of the line.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getBeginWidth() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getDesignLineOffsetAtBegin() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getDesignLineOffsetAtEnd() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getEndWidth() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralBoundaryPosition(LateralDirectionality lateralDirection,
double fractionalLongitudinalPosition)
Return the lateral offset from the design line of the parent Link of the Left or Right boundary of this
CrossSectionElement at the specified fractional longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralBoundaryPosition(LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the lateral offset from the design line of the parent Link of the Left or Right boundary of this
CrossSectionElement at the specified longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralCenterPosition(double fractionalPosition)
Retrieve the lateral offset from the Link design line at the specified longitudinal position.
|
DoubleScalar<LengthUnit> |
CrossSectionElement.getLateralCenterPosition(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Retrieve the lateral offset from the Link design line at the specified longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLength()
Return the length of this CrossSectionElement as measured along the design line (which equals the center line).
|
DoubleScalar.Rel<LengthUnit> |
Sensor.getLongitudinalPosition() |
DoubleScalar.Rel<LengthUnit> |
RoadMarkerAcross.getLongitudinalPosition() |
DoubleScalar.Abs<LengthUnit> |
LaneLocation.getLongitudinalPosition() |
DoubleScalar.Rel<LengthUnit> |
AbstractSensor.getLongitudinalPosition() |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getWidth(double fractionalPosition)
Return the width of this CrossSectionElement at a specified fractional longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getWidth(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the width of this CrossSectionElement at a specified longitudinal position.
|
DoubleScalar.Rel<LengthUnit> |
Lane.position(double fraction)
Transform a fraction on the lane to a relative length (can be less than zero or larger than the lane length).
|
| Modifier and Type | Method and Description |
|---|---|
int |
Lane.addGTU(LaneBasedGTU<?> gtu,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Add a LaneBasedGTU<?> to the list of this Lane.
|
Lane<LINKID,NODEID> |
Lane.bestAccessibleAdjacentLane(LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
double |
Lane.fraction(DoubleScalar.Rel<LengthUnit> position)
Transform a position on the lane (can be less than zero or larger than the lane length) to a fraction.
|
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) |
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getLateralBoundaryPosition(LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the lateral offset from the design line of the parent Link of the Left or Right boundary of this
CrossSectionElement at the specified longitudinal position.
|
DoubleScalar<LengthUnit> |
CrossSectionElement.getLateralCenterPosition(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Retrieve the lateral offset from the Link design line at the specified longitudinal position.
|
List<Sensor> |
Lane.getSensors(DoubleScalar.Rel<LengthUnit> minimumPosition,
DoubleScalar.Rel<LengthUnit> maximumPosition)
Retrieve the list of Sensors of this Lane in the specified distance range.
|
List<Sensor> |
Lane.getSensors(DoubleScalar.Rel<LengthUnit> minimumPosition,
DoubleScalar.Rel<LengthUnit> maximumPosition)
Retrieve the list of Sensors of this Lane in the specified distance range.
|
DoubleScalar.Rel<LengthUnit> |
CrossSectionElement.getWidth(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Return the width of this CrossSectionElement at a specified longitudinal position.
|
| Constructor and Description |
|---|
AbstractSensor(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
RelativePosition.TYPE positionType,
String name) |
Barrier(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Barrier(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Barrier(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Lane(CrossSectionLink<LINKID,NODEID> 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,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
Lane(CrossSectionLink<LINKID,NODEID> 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,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
Lane(CrossSectionLink<LINKID,NODEID> 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,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
Lane(CrossSectionLink<LINKID,NODEID> 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,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
LaneLocation(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position) |
NoTrafficLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
NoTrafficLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
NoTrafficLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
NoTrafficLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
RoadMarkerAcross(CrossSectionElement<?,?> crossSectionElement,
DoubleScalar.Rel<LengthUnit> longitudinalPosition) |
RoadMarkerAlong(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
RoadMarkerAlong(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
RoadMarkerAlong(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Shoulder(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
Shoulder(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
Shoulder(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
SinkLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a SinkLane.
|
SinkLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a SinkLane.
|
SourceLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a GeneratorLane.
|
SourceLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a GeneratorLane.
|
Stripe(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Stripe(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Stripe(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Set<GTUType<?>> gtuTypes,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for a number of GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Set<GTUType<?>> gtuTypes,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for a number of GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for all GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for all GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
| Constructor and Description |
|---|
StopLineLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> longitudinalPositionFromEnd)
Place a sensor that is triggered with the back of the GTU one ulp (see
Math.ulp(double d)) before the end of
the lane to make sure it will always be triggered, independent of the algorithm used to move the GTU. |
| Modifier and Type | Field and Description |
|---|---|
static DoubleScalar.Rel<LengthUnit> |
LaneBasedRouteNavigator.GETOFFTHISLANENOW
Return value of suitability when a lane change is required right now.
|
static DoubleScalar.Rel<LengthUnit> |
LaneBasedRouteNavigator.NOLANECHANGENEEDED
Return value of suitability when no lane change is required withing the time horizon.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneBasedRouteNavigator.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 | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
LaneBasedRouteNavigator.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 LengthUnit |
LengthUnit.CENTIMETER
centimeter.
|
static LengthUnit |
LengthUnit.DECIMETER
decimeter.
|
static LengthUnit |
LengthUnit.DEKAMETER
decameter.
|
static LengthUnit |
LengthUnit.FOOT
foot (international) = 0.3048 m = 1/3 yd = 12 inches.
|
static LengthUnit |
LengthUnit.HECTOMETER
hectometer.
|
static LengthUnit |
LengthUnit.INCH
inch (international) = 2.54 cm = 1/36 yd = 1/12 ft.
|
static LengthUnit |
LengthUnit.KILOMETER
kilometer.
|
static LengthUnit |
LengthUnit.METER
meter.
|
static LengthUnit |
LengthUnit.MILE
mile (international) = 5280 ft = 1760 yd.
|
static LengthUnit |
LengthUnit.MILLIMETER
millimeter.
|
static LengthUnit |
LengthUnit.NAUTICAL_MILE
nautical mile (international) = 1852 m.
|
static LengthUnit |
LengthUnit.SI
The SI unit for length is meter.
|
static LengthUnit |
LengthUnit.YARD
yard (international) = 0.9144 m = 3 ft = 36 in.
|
| Modifier and Type | Method and Description |
|---|---|
LengthUnit |
VolumeUnit.getLengthUnit() |
LengthUnit |
TorqueUnit.getLengthUnit() |
LengthUnit |
SpeedUnit.getLengthUnit() |
LengthUnit |
PressureUnit.getLengthUnit() |
LengthUnit |
PowerUnit.getLengthUnit() |
LengthUnit |
LinearDensityUnit.getLengthUnit() |
LengthUnit |
ForceUnit.getLengthUnit() |
LengthUnit |
FlowVolumeUnit.getLengthUnit() |
LengthUnit |
EnergyUnit.getLengthUnit() |
LengthUnit |
ElectricalResistanceUnit.getLengthUnit() |
LengthUnit |
ElectricalPotentialUnit.getLengthUnit() |
LengthUnit |
DensityUnit.getLengthUnit() |
LengthUnit |
AreaUnit.getLengthUnit() |
LengthUnit |
AccelerationUnit.getLengthUnit() |
LengthUnit |
LengthUnit.getStandardUnit() |
| Constructor and Description |
|---|
AccelerationUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define acceleration units based on length and time.
|
AreaUnit(LengthUnit lengthUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define area unit based on length.
|
DensityUnit(MassUnit massUnit,
LengthUnit lengthUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define density units based on mass and length.
|
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(LengthUnit lengthUnit,
ForceUnit forceUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
FlowVolumeUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a flow-volumeunit based on length (cubed) per time unit.
|
ForceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Build a standard unit.
|
LengthUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
LengthUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a unit with a conversion factor to another unit.
|
LinearDensityUnit(LengthUnit lengthUnit,
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.
|
TorqueUnit(ForceUnit forceUnit,
LengthUnit lengthUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a torque unit from force and length units.
|
TorqueUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a torque unit from mass, length and time units.
|
VolumeUnit(LengthUnit lengthUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Define volume unit based on length, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
static DoubleScalar.Rel<LengthUnit> |
Calc.speedTimesTime(DoubleScalar.Rel<SpeedUnit> speed,
DoubleScalar.Rel<TimeUnit> time)
Distance is speed times time.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
TrajectoryPlot.getCumulativeLength(int index)
Retrieve the cumulative length of the sampled path at the end of a path element.
|
DoubleScalar.Rel<LengthUnit> |
ContourPlot.getCumulativeLength(int index)
Retrieve the cumulative length of the sampled path at the end of a path element.
|
DoubleScalar.Rel<LengthUnit> |
FundamentalDiagram.getPosition()
Retrieve the position of the detector.
|
| Constructor and Description |
|---|
FundamentalDiagram(String caption,
DoubleScalar.Rel<TimeUnit> aggregationTime,
Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
Graph a Fundamental Diagram.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Rel<LengthUnit> |
IDMPropertySet.getS0(CompoundProperty set)
Return the static headway.
|
| 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.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.