Package | Description |
---|---|
org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
org.opentrafficsim.core.gtu.following |
GTU (Car) following models such as IDM+.
|
org.opentrafficsim.core.gtu.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 |
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.graphs |
Basic graphs for traffic simulation.
|
org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder<ID> |
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder.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) |
Constructor and Description |
---|
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass)
Construct a new LaneBasedIndividualCar.
|
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass)
Construct a new LaneBasedIndividualCar.
|
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass)
Construct a new LaneBasedIndividualCar.
|
LaneBasedTemplateCar(ID id,
TemplateGTUType<?> templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed) |
LaneBasedTemplateCar(ID id,
TemplateGTUType<?> templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass) |
Modifier and Type | Method and Description |
---|---|
DoubleScalar.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.Rel<LengthUnit> |
TemplateGTUType.getWidth() |
DoubleScalar.Rel<LengthUnit> |
GTU.getWidth() |
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 |
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 |
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 |
---|---|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedTemplateGTU.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedIndividualGTU.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedTemplateGTU.getWidth() |
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedIndividualGTU.getWidth() |
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> |
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)
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>> |
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.
|
Modifier and Type | Method and Description |
---|---|
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> |
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 |
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 |
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> |
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 loc)
Returns the distance to another LinkLocation.
|
DoubleScalar.Rel<LengthUnit> |
Link.getLength() |
DoubleScalar.Rel<LengthUnit> |
AbstractLink.getLength() |
DoubleScalar.Rel<LengthUnit> |
LinkLocation.getLongitudinalPosition() |
Constructor and Description |
---|
AbstractLink(IDL id,
N startNode,
N endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a a new link with infinite capacity.
|
AbstractLink(IDL id,
N startNode,
N endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
LinkLocation(Link<?,?> link,
DoubleScalar.Rel<LengthUnit> position) |
Modifier and Type | Field and Description |
---|---|
protected DistContinuousDoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.FillTag.distanceDist
inter-vehicle distance.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.StraightTag.length
length.
|
protected DistContinuousDoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.GTUTag.lengthDist
GTU length.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.ArcTag.radius
radius.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.GlobalTag.width
default lane width.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.LinkTag.width
default lane width on this link.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.LaneTag.width
lane width.
|
protected DistContinuousDoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.GTUTag.widthDist
GTU width.
|
Modifier and Type | Method and Description |
---|---|
protected DoubleScalar.Abs<LengthUnit> |
XmlNetworkLaneParser.parseLengthAbs(String s) |
protected DistContinuousDoubleScalar.Abs<LengthUnit> |
XmlNetworkLaneParser.parseLengthDistAbs(String s)
Parse an absolute length distribution, e.g.
|
protected DistContinuousDoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.parseLengthDistRel(String s)
Parse a relative length distribution, e.g.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.parseLengthRel(String s) |
Modifier and Type | Method and Description |
---|---|
DoubleScalar.Rel<LengthUnit> |
LinearGeometry.getLineLength() |
Modifier and Type | Method and Description |
---|---|
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.Abs<LengthUnit> |
Sensor.getLongitudinalPosition() |
DoubleScalar.Rel<LengthUnit> |
RoadMarkerAcross.getLongitudinalPosition() |
DoubleScalar.Abs<LengthUnit> |
LaneLocation.getLongitudinalPosition() |
DoubleScalar.Abs<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 |
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) |
Barrier(CrossSectionLink<?,?> 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<?,?> 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<?,?> 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<?,?> 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<?,?> 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<?,?> 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<?,?> 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.
|
CrossSectionLink(IDL id,
NodeGeotools<IDN> startNode,
NodeGeotools<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length)
Construction of a link.
|
CrossSectionLink(IDL id,
NodeGeotools<IDN> startNode,
NodeGeotools<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construction of a link.
|
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
LaneLocation(Lane lane,
DoubleScalar.Rel<LengthUnit> position) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
RoadMarkerAcross(CrossSectionElement crossSectionElement,
DoubleScalar.Rel<LengthUnit> longitudinalPosition) |
RoadMarkerAlong(CrossSectionLink<?,?> 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<?,?> 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<?,?> 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<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
SinkLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality)
Construct a SinkLane.
|
SinkLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality)
Construct a SinkLane.
|
SourceLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality)
Construct a GeneratorLane.
|
SourceLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality)
Construct a GeneratorLane.
|
Stripe(CrossSectionLink<?,?> 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<?,?> 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<?,?> 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<?,?> 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<?,?> 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<?,?> 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 |
---|
LinkPoint2D.INT(int id,
NodePoint2D.INT startNode,
NodePoint2D.INT endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkPoint2D.INT(int id,
NodePoint2D.INT startNode,
NodePoint2D.INT endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
LinkPoint2D.STR(String id,
NodePoint2D.STR startNode,
NodePoint2D.STR endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkPoint2D.STR(String id,
NodePoint2D.STR startNode,
NodePoint2D.STR endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
LinkPoint2D(IDL id,
NodePoint2D<IDN> startNode,
NodePoint2D<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkPoint2D(IDL id,
NodePoint2D<IDN> startNode,
NodePoint2D<IDN> endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
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.