| Package | Description | 
|---|---|
| org.opentrafficsim.road.gtu.generator | 
 Generate GTUs according to some prescription. 
 | 
| org.opentrafficsim.road.gtu.lane.perception.headway | 
 
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
| org.opentrafficsim.road.gtu.lane.tactical | 
 Tactical planners for a lane-based GTU. 
 | 
| org.opentrafficsim.road.network.factory | 
 Factories for Links, Lanes, Nodes. 
 | 
| org.opentrafficsim.road.network.lane | 
 Classes that provide detailed cross-sections of a link using lanes, markers and sensors. 
 | 
| org.opentrafficsim.road.network.lane.conflict | 
 Contains classes describing intersection conflicts. 
 | 
| org.opentrafficsim.road.network.sampling | 
 
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static GeneratorPositions | 
GeneratorPositions.create(Set<DirectedLanePosition> positions,
      StreamInterface stream,
      GeneratorPositions.LaneBiases biases,
      Map<CrossSectionLink,Double> linkWeights)
Create a GeneratorPositions object to draw positions from. 
 | 
static GeneratorPositions | 
GeneratorPositions.create(Set<DirectedLanePosition> positions,
      StreamInterface stream,
      Map<CrossSectionLink,Double> linkWeights)
Create a GeneratorPositions object to draw positions from. 
 | 
GeneratorPositions.GeneratorLanePosition | 
GeneratorPositions.draw(GTUType gtuType,
    Map<CrossSectionLink,Map<Integer,Integer>> unplaced,
    Speed desiredSpeed,
    Route route)
Draw a new position to generate a GTU. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CrossSectionLink | 
HeadwayConflict.getConflictingLink()
Returns the conflicting link. 
 | 
| Constructor and Description | 
|---|
HeadwayConflict(ConflictType conflictType,
               ConflictPriority conflictPriority,
               Class<? extends ConflictRule> conflictRuleType,
               String id,
               Length distance,
               Length length,
               Length conflictingLength,
               PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs,
               PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs,
               Length conflictingVisibility,
               Speed conflictingSpeedLimit,
               CrossSectionLink conflictingLink,
               HeadwayConflict.Width width)
Constructor without stop lines. 
 | 
HeadwayConflict(ConflictType conflictType,
               ConflictPriority conflictPriority,
               Class<? extends ConflictRule> conflictRuleType,
               String id,
               Length distance,
               Length length,
               Length conflictingLength,
               PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs,
               PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs,
               Length conflictingVisibility,
               Speed conflictingSpeedLimit,
               CrossSectionLink conflictingLink,
               HeadwayConflict.Width width,
               HeadwayStopLine stopLine,
               HeadwayStopLine conflictingStopLine)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected int | 
LaneBasedCFLCTacticalPlanner.countCompatibleLanes(CrossSectionLink link,
                    GTUType gtuType,
                    GTUDirectionality drivingDirection)
Determine how many lanes on a CrossSectionLink are compatible with a particular GTU type. 
TODO: this method should probably be moved into the CrossSectionLink class  | 
| Modifier and Type | Method and Description | 
|---|---|
static CrossSectionLink | 
LaneFactory.makeLink(Network network,
        String name,
        Node from,
        Node to,
        OTSPoint3D[] intermediatePoints,
        DEVSSimulatorInterface.TimeDoubleUnit simulator)
Create a Link along intermediate coordinates from one Node to another. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected CrossSectionLink | 
CrossSectionElement.parentLink
Cross Section Link to which the element belongs. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CrossSectionLink | 
CrossSectionLink.clone(Network newNetwork,
     SimulatorInterface.TimeDoubleUnit newSimulator,
     boolean animation) | 
CrossSectionLink | 
CrossSectionElement.getParentLink()  | 
| Modifier and Type | Method and Description | 
|---|---|
Stripe | 
Stripe.clone(CrossSectionLink newParentLink,
     SimulatorInterface.TimeDoubleUnit newSimulator,
     boolean animation)
Clone the CrossSectionElement for e.g., copying a network. 
 | 
Shoulder | 
Shoulder.clone(CrossSectionLink newParentLink,
     SimulatorInterface.TimeDoubleUnit newSimulator,
     boolean animation)
Clone the CrossSectionElement for e.g., copying a network. 
 | 
Lane | 
Lane.clone(CrossSectionLink newParentLink,
     SimulatorInterface.TimeDoubleUnit newSimulator,
     boolean animation)
Clone the CrossSectionElement for e.g., copying a network. 
 | 
abstract CrossSectionElement | 
CrossSectionElement.clone(CrossSectionLink newParentLink,
     SimulatorInterface.TimeDoubleUnit newSimulator,
     boolean animation)
Clone the CrossSectionElement for e.g., copying a network. 
 | 
| Constructor and Description | 
|---|
Barrier(CrossSectionLink parentLink,
       Length beginCenterPosition,
       Length endCenterPosition,
       Length beginWidth,
       Length 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 newCrossSectionLink,
                   SimulatorInterface.TimeDoubleUnit newSimulator,
                   boolean animation,
                   CrossSectionElement cse)
Clone a CrossSectionElement for a new network. 
 | 
CrossSectionElement(CrossSectionLink parentLink,
                   String id,
                   Length lateralOffset,
                   Length 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. 
 | 
CrossSectionElement(CrossSectionLink parentLink,
                   String id,
                   Length lateralOffsetAtBegin,
                   Length lateralOffsetAtEnd,
                   Length beginWidth,
                   Length 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,
                   String id,
                   List<CrossSectionSlice> crossSectionSlices)
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(Network newNetwork,
                SimulatorInterface.TimeDoubleUnit newSimulator,
                boolean animation,
                CrossSectionLink link)
Clone a CrossSectionLink for a new network. 
 | 
Lane(CrossSectionLink newParentLink,
    SimulatorInterface.TimeDoubleUnit newSimulator,
    boolean animation,
    Lane cse)
Clone a Lane for a new network. 
 | 
Lane(CrossSectionLink parentLink,
    String id,
    Length lateralOffset,
    Length width,
    LaneType laneType,
    Map<GTUType,Speed> speedLimitMap,
    OvertakingConditions overtakingConditions)
Construct a new Lane. 
 | 
Lane(CrossSectionLink parentLink,
    String id,
    Length lateralOffset,
    Length width,
    LaneType laneType,
    Speed speedLimit,
    OvertakingConditions overtakingConditions)
Construct a new Lane. 
 | 
Lane(CrossSectionLink parentLink,
    String id,
    Length lateralOffsetAtStart,
    Length lateralOffsetAtEnd,
    Length beginWidth,
    Length endWidth,
    LaneType laneType,
    Map<GTUType,Speed> speedLimitMap,
    OvertakingConditions overtakingConditions)
Construct a new Lane. 
 | 
Lane(CrossSectionLink parentLink,
    String id,
    Length lateralOffsetAtStart,
    Length lateralOffsetAtEnd,
    Length beginWidth,
    Length endWidth,
    LaneType laneType,
    Speed speedLimit,
    OvertakingConditions overtakingConditions)
Construct a new Lane. 
 | 
Lane(CrossSectionLink parentLink,
    String id,
    List<CrossSectionSlice> crossSectionSlices,
    LaneType laneType,
    Map<GTUType,Speed> speedLimitMap,
    OvertakingConditions overtakingConditions)
Construct a new Lane. 
 | 
Lane(CrossSectionLink parentLink,
    String id,
    List<CrossSectionSlice> crossSectionSlices,
    LaneType laneType,
    Speed speedLimit,
    OvertakingConditions overtakingConditions)
Construct a new Lane. 
 | 
NoTrafficLane(CrossSectionLink parentLink,
             String id,
             Length lateralOffset,
             Length width)  | 
NoTrafficLane(CrossSectionLink parentLink,
             String id,
             Length lateralOffsetAtStart,
             Length lateralOffsetAtEnd,
             Length beginWidth,
             Length endWidth)  | 
NoTrafficLane(CrossSectionLink parentLink,
             String id,
             List<CrossSectionSlice> crossSectionSlices)  | 
RoadMarkerAlong(CrossSectionLink parentLink,
               Length lateralCenterPosition,
               Length 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. 
 | 
RoadMarkerAlong(CrossSectionLink parentLink,
               Length startCenterPosition,
               Length endCenterPosition,
               Length beginWidth,
               Length 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,
               List<CrossSectionSlice> crossSectionSlices)
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 newCrossSectionLink,
               SimulatorInterface.TimeDoubleUnit newSimulator,
               boolean animation,
               RoadMarkerAlong cse)
Clone a RoadMarkerAlong for a new network. 
 | 
Shoulder(CrossSectionLink newParentLink,
        SimulatorInterface.TimeDoubleUnit newSimulator,
        boolean animation,
        Shoulder cse)
Clone a Shoulder for a new network. 
 | 
Shoulder(CrossSectionLink parentLink,
        String id,
        Length lateralPosition,
        Length width)  | 
Shoulder(CrossSectionLink parentLink,
        String id,
        Length lateralPositionStart,
        Length lateralPositionEnd,
        Length beginWidth,
        Length endWidth)  | 
Shoulder(CrossSectionLink parentLink,
        String id,
        List<CrossSectionSlice> crossSectionSlices)  | 
Stripe(CrossSectionLink parentLink,
      Length lateralCenterPositionStart,
      Length lateralCenterPositionEnd,
      Length 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,
      Length lateralCenterPositionStart,
      Length lateralCenterPositionEnd,
      Length 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,
      List<CrossSectionSlice> crossSectionSlices,
      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 newParentLink,
      SimulatorInterface.TimeDoubleUnit newSimulator,
      boolean animation,
      Stripe cse)
Clone a Stripe for a new network. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
LaneCombinationList.addLinkCombination(CrossSectionLink link1,
                  CrossSectionLink link2)
Add any combination of lanes on both links to the list. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CrossSectionLink | 
LinkData.getLink()  | 
| Constructor and Description | 
|---|
LinkData(CrossSectionLink link)  | 
Copyright © 2014–2018 Delft University of Technology. All rights reserved.