| Package | Description |
|---|---|
| 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 |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| Modifier and Type | Method and Description |
|---|---|
Lane |
LaneBlock.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
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.
|
Lane |
LaneBasedGTU.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
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.
|
Lane |
AbstractTrafficLight.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
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.
|
Lane |
AbstractLaneBasedGTU.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
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.
|
Set<LaneBasedGTU> |
LaneBlock.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBasedGTU.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractTrafficLight.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractLaneBasedGTU.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
| Modifier and Type | Method and Description |
|---|---|
LateralDirectionality |
LaneMovementStep.getLaneChange() |
| Constructor and Description |
|---|
FixedLaneChangeModel(LateralDirectionality laneChange)
Construct a FixedLaneChangeModel.
|
LaneMovementStep(AccelerationStep gfmr,
LateralDirectionality laneChange)
Construct a new LaneChangeModelResult.
|
| Modifier and Type | Method and Description |
|---|---|
static LateralDirectionality |
LateralDirectionality.offsetDirection(double offset) |
static LateralDirectionality |
LateralDirectionality.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LateralDirectionality[] |
LateralDirectionality.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Lane> |
Lane.accessibleAdjacentLanes(LateralDirectionality lateralDirection,
GTUType gtuType)
Determine the set of lanes to the left or to the right of this lane, which are accessible from this lane, or an empty set
if no lane could be found.
|
void |
RoadMarkerAlong.addPermeability(GTUType gtuType,
LateralDirectionality lateralDirection)
Add lateral permeability for a GTU type in the direction of the design line of the overarching CrossSectionLink.
|
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.
|
boolean |
RoadMarkerAlong.isPermeable(GTUType gtuType,
LateralDirectionality lateralDirection) |
| Modifier and Type | Method and Description |
|---|---|
protected DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedRouteNavigator.computeSuitabilityWithLaneChanges(Lane startLane,
double remainingDistance,
Map<Lane,DoubleScalar.Rel<LengthUnit>> suitabilities,
int totalLanes,
LateralDirectionality direction,
GTUType gtuType)
Compute the suitability of a lane from which lane changes are required to get to the next point on the Route.
This method weighs the suitability of the nearest suitable lane by (m - n) / m where n is the number of lane changes required and m is the total number of lanes in the CrossSectionLink. |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.