Package | Description |
---|---|
org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2017 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-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
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,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<HeadwayGTU> upstreamConflictingGTUs,
SortedSet<HeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit,
CrossSectionLink conflictingLink)
Constructor without stop lines.
|
HeadwayConflict(ConflictType conflictType,
ConflictPriority conflictPriority,
Class<? extends ConflictRule> conflictRuleType,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<HeadwayGTU> upstreamConflictingGTUs,
SortedSet<HeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit,
CrossSectionLink conflictingLink,
HeadwayStopLine stopLine,
HeadwayStopLine conflictingStopLine)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
LaneBasedCFLCTacticalPlanner.countCompatibleLanes(CrossSectionLink link,
org.opentrafficsim.core.gtu.GTUType gtuType)
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(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.Node from,
org.opentrafficsim.core.network.Node to,
org.opentrafficsim.core.geometry.OTSPoint3D[] intermediatePoints,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface 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(org.opentrafficsim.core.network.Network newNetwork,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation) |
CrossSectionLink |
CrossSectionElement.getParentLink() |
Modifier and Type | Method and Description |
---|---|
Stripe |
Stripe.clone(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation)
Clone the CrossSectionElement for e.g., copying a network.
|
Shoulder |
Shoulder.clone(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation)
Clone the CrossSectionElement for e.g., copying a network.
|
Lane |
Lane.clone(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation)
Clone the CrossSectionElement for e.g., copying a network.
|
abstract CrossSectionElement |
CrossSectionElement.clone(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation)
Clone the CrossSectionElement for e.g., copying a network.
|
Constructor and Description |
---|
Barrier(CrossSectionLink parentLink,
org.djunits.value.vdouble.scalar.Length beginCenterPosition,
org.djunits.value.vdouble.scalar.Length endCenterPosition,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.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,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation,
CrossSectionElement cse)
Clone a CrossSectionElement for a new network.
|
CrossSectionElement(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffset,
org.djunits.value.vdouble.scalar.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,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtBegin,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtEnd,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.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(org.opentrafficsim.core.network.Network newNetwork,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation,
CrossSectionLink link)
Clone a CrossSectionLink for a new network.
|
Lane(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation,
Lane cse)
Clone a Lane for a new network.
|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffset,
org.djunits.value.vdouble.scalar.Length width,
LaneType laneType,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
org.djunits.value.vdouble.scalar.Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffset,
org.djunits.value.vdouble.scalar.Length width,
LaneType laneType,
Map<org.opentrafficsim.core.gtu.GTUType,org.opentrafficsim.core.network.LongitudinalDirectionality> directionalityMap,
Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtStart,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtEnd,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.Length endWidth,
LaneType laneType,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
org.djunits.value.vdouble.scalar.Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtStart,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtEnd,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.Length endWidth,
LaneType laneType,
Map<org.opentrafficsim.core.gtu.GTUType,org.opentrafficsim.core.network.LongitudinalDirectionality> directionalityMap,
Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices,
LaneType laneType,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
org.djunits.value.vdouble.scalar.Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices,
LaneType laneType,
Map<org.opentrafficsim.core.gtu.GTUType,org.opentrafficsim.core.network.LongitudinalDirectionality> directionalityMap,
Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
NoTrafficLane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffset,
org.djunits.value.vdouble.scalar.Length width) |
NoTrafficLane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtStart,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtEnd,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.Length endWidth) |
NoTrafficLane(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices) |
RoadMarkerAlong(CrossSectionLink parentLink,
org.djunits.value.vdouble.scalar.Length lateralCenterPosition,
org.djunits.value.vdouble.scalar.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,
org.djunits.value.vdouble.scalar.Length startCenterPosition,
org.djunits.value.vdouble.scalar.Length endCenterPosition,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.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,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation,
RoadMarkerAlong cse)
Clone a RoadMarkerAlong for a new network.
|
Shoulder(CrossSectionLink newParentLink,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation,
Shoulder cse)
Clone a Shoulder for a new network.
|
Shoulder(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralPosition,
org.djunits.value.vdouble.scalar.Length width) |
Shoulder(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralPositionStart,
org.djunits.value.vdouble.scalar.Length lateralPositionEnd,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.Length endWidth) |
Shoulder(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices) |
Stripe(CrossSectionLink parentLink,
org.djunits.value.vdouble.scalar.Length lateralCenterPosition,
org.djunits.value.vdouble.scalar.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,
org.djunits.value.vdouble.scalar.Length lateralCenterPosition,
org.djunits.value.vdouble.scalar.Length width,
Set<org.opentrafficsim.core.gtu.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,
org.opentrafficsim.core.dsol.OTSSimulatorInterface 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–2017 Delft University of Technology. All rights reserved.