| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.gtu.following |
GTU (Car) following models such as IDM+.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.gtu.lane.changing |
Classes that deal with lane changing models.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LaneBasedIndividualCar
Augments the AbstractLaneBasedIndividualGTU with a LaneBasedIndividualCarBuilder and animation support
|
class |
LaneBasedTemplateCar
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
LaneBasedGTU |
HeadwayGTU.getOtherGTU() |
| Modifier and Type | Method and Description |
|---|---|
DualAccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DualAccelerationStep |
AbstractGTUFollowingModel.computeAcceleration(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU follower,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> leaderSpeed,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> headway,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.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,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> leaderSpeed,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> headway,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
GTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
| Constructor and Description |
|---|
HeadwayGTU(LaneBasedGTU otherGTU,
double distanceSI)
Construct a new HeadwayGTU.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLaneBasedGTU
This class contains most of the code that is needed to run a lane based GTU.
|
class |
AbstractLaneBasedIndividualGTU
Specific type of LaneBasedGTU.
|
class |
AbstractLaneBasedTemplateGTU
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
AbstractTrafficLight
Special GTU that cannot move, but it can be seen by other GTUs.
|
class |
LaneBlock
Special GTU that cannot move, but it can be seen by other GTUs.
|
class |
LaneBlockOnOff
Special GTU that cannot move, but it can be seen by other GTUs.
|
| Modifier and Type | Method and Description |
|---|---|
Set<LaneBasedGTU> |
LaneBlock.parallel(Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBasedGTU.parallel(Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractTrafficLight.parallel(Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractLaneBasedGTU.parallel(Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBlock.parallel(LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBasedGTU.parallel(LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractTrafficLight.parallel(LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractLaneBasedGTU.parallel(LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
| Modifier and Type | Method and Description |
|---|---|
LaneMovementStep |
LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> preferredLaneRouteIncentive,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> laneChangeThreshold,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> preferredLaneRouteIncentive,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> laneChangeThreshold,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> speedLimit,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> preferredLaneRouteIncentive,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> laneChangeThreshold,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.AccelerationUnit> nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
| Modifier and Type | Method and Description |
|---|---|
LaneBasedGTU |
Lane.getGtuAfter(org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> position,
RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when) |
LaneBasedGTU |
Lane.getGtuBefore(org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> position,
RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when) |
| Modifier and Type | Method and Description |
|---|---|
List<LaneBasedGTU> |
Lane.getGtuList() |
| Modifier and Type | Method and Description |
|---|---|
int |
Lane.addGTU(LaneBasedGTU gtu,
double fractionalPosition)
Add a LaneBasedGTU to the list of this Lane.
|
int |
Lane.addGTU(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> longitudinalPosition)
Add a LaneBasedGTU to the list of this Lane.
|
void |
Lane.removeGTU(LaneBasedGTU gtu)
Remove a GTU from the GTU list of this lane.
|
void |
Lane.scheduleTriggers(LaneBasedGTU gtu,
double referenceStartSI,
double referenceMoveSI)
Trigger the sensors for a certain time step; from now until the nextEvaluationTime of the GTU.
|
void |
SinkSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
void |
Sensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FundamentalDiagram.addData(LaneBasedGTU gtu)
Add the effect of one passing car to this Fundamental Diagram.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.