Uses of Class
org.opentrafficsim.road.network.lane.CrossSectionLink
Package | Description |
---|---|
org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2020 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-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
-
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.generator
Method parameters in org.opentrafficsim.road.gtu.generator with type arguments of type CrossSectionLink Modifier and Type Method Description static GeneratorPositions
GeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream, java.util.Map<CrossSectionLink,java.lang.Double> linkWeights)
Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases biases, java.util.Map<CrossSectionLink,java.lang.Double> linkWeights)
Create a GeneratorPositions object to draw positions from.GeneratorPositions.GeneratorLanePosition
GeneratorPositions. draw(GTUType gtuType, java.util.Map<CrossSectionLink,java.util.Map<java.lang.Integer,java.lang.Integer>> unplaced, Speed desiredSpeed, Route route)
Draw a new position to generate a GTU. -
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.lane.perception.headway
Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return CrossSectionLink Modifier and Type Method Description CrossSectionLink
HeadwayConflict. getConflictingLink()
Returns the conflicting link.Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type CrossSectionLink Constructor Description HeadwayConflict(ConflictType conflictType, ConflictPriority conflictPriority, java.lang.Class<? extends ConflictRule> conflictRuleType, java.lang.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, Lane lane)
Constructor.HeadwayConflict(ConflictType conflictType, ConflictPriority conflictPriority, java.lang.Class<? extends ConflictRule> conflictRuleType, java.lang.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, Lane lane)
Constructor without stop lines. -
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.lane.tactical
Methods in org.opentrafficsim.road.gtu.lane.tactical with parameters of type CrossSectionLink Modifier and Type Method 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 -
Uses of CrossSectionLink in org.opentrafficsim.road.network.factory
Methods in org.opentrafficsim.road.network.factory that return CrossSectionLink Modifier and Type Method Description static CrossSectionLink
LaneFactory. makeLink(RoadNetwork network, java.lang.String name, OTSRoadNode from, OTSRoadNode to, OTSPoint3D[] intermediatePoints, OTSSimulatorInterface simulator)
Create a Link along intermediate coordinates from one Node to another. -
Uses of CrossSectionLink in org.opentrafficsim.road.network.lane
Fields in org.opentrafficsim.road.network.lane declared as CrossSectionLink Modifier and Type Field Description protected CrossSectionLink
CrossSectionElement. parentLink
Cross Section Link to which the element belongs.Methods in org.opentrafficsim.road.network.lane that return CrossSectionLink Modifier and Type Method Description CrossSectionLink
CrossSectionLink. clone(Network newNetwork, OTSSimulatorInterface newSimulator)
CrossSectionLink
CrossSectionElement. getParentLink()
Methods in org.opentrafficsim.road.network.lane with parameters of type CrossSectionLink Modifier and Type Method Description abstract CrossSectionElement
CrossSectionElement. clone(CrossSectionLink newParentLink, SimulatorInterface.TimeDoubleUnit newSimulator)
Clone the CrossSectionElement for e.g., copying a network.Lane
Lane. clone(CrossSectionLink newParentLink, SimulatorInterface.TimeDoubleUnit newSimulator)
Clone the CrossSectionElement for e.g., copying a network.Shoulder
Shoulder. clone(CrossSectionLink newParentLink, SimulatorInterface.TimeDoubleUnit newSimulator)
Clone the CrossSectionElement for e.g., copying a network.Stripe
Stripe. clone(CrossSectionLink newParentLink, SimulatorInterface.TimeDoubleUnit newSimulator)
Clone the CrossSectionElement for e.g., copying a network.Constructors in org.opentrafficsim.road.network.lane with parameters of type CrossSectionLink Constructor 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 parentLink, java.lang.String id, java.util.List<CrossSectionSlice> crossSectionSlices)
Construct a new CrossSectionElement.CrossSectionElement(CrossSectionLink parentLink, java.lang.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, java.lang.String id, Length lateralOffsetAtBegin, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset)
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, CrossSectionElement cse)
Clone a CrossSectionElement for a new network.CrossSectionLink(RoadNetwork newNetwork, OTSSimulatorInterface newSimulator, CrossSectionLink link)
Clone a CrossSectionLink for a new network.Lane(CrossSectionLink parentLink, java.lang.String id, java.util.List<CrossSectionSlice> crossSectionSlices, LaneType laneType, java.util.Map<GTUType,Speed> speedLimitMap)
Construct a new Lane.Lane(CrossSectionLink parentLink, java.lang.String id, java.util.List<CrossSectionSlice> crossSectionSlices, LaneType laneType, Speed speedLimit)
Construct a new Lane.Lane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, java.util.Map<GTUType,Speed> speedLimitMap)
Construct a new Lane.Lane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, java.util.Map<GTUType,Speed> speedLimitMap, boolean fixGradualLateralOffset)
Construct a new Lane.Lane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, Speed speedLimit)
Construct a new Lane.Lane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, Speed speedLimit, boolean fixGradualLateralOffset)
Construct a new Lane.Lane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffset, Length width, LaneType laneType, java.util.Map<GTUType,Speed> speedLimitMap)
Construct a new Lane.Lane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffset, Length width, LaneType laneType, Speed speedLimit)
Construct a new Lane.Lane(CrossSectionLink newParentLink, SimulatorInterface.TimeDoubleUnit newSimulator, Lane cse)
Clone a Lane for a new network.NoTrafficLane(CrossSectionLink parentLink, java.lang.String id, java.util.List<CrossSectionSlice> crossSectionSlices)
NoTrafficLane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffset, Length width)
NoTrafficLane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth)
NoTrafficLane(CrossSectionLink parentLink, java.lang.String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset)
RoadMarkerAlong(CrossSectionLink parentLink, java.util.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, RoadMarkerAlong cse)
Clone a RoadMarkerAlong for a new network.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, Length startCenterPosition, Length endCenterPosition, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset)
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, java.lang.String id, java.util.List<CrossSectionSlice> crossSectionSlices)
Shoulder(CrossSectionLink parentLink, java.lang.String id, Length lateralPosition, Length width)
Shoulder(CrossSectionLink parentLink, java.lang.String id, Length lateralPositionStart, Length lateralPositionEnd, Length beginWidth, Length endWidth)
Shoulder(CrossSectionLink parentLink, java.lang.String id, Length lateralPositionStart, Length lateralPositionEnd, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset)
Shoulder(CrossSectionLink newParentLink, SimulatorInterface.TimeDoubleUnit newSimulator, Shoulder cse)
Clone a Shoulder for a new network.Stripe(CrossSectionLink parentLink, java.util.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, Stripe cse)
Clone a Stripe for a new network.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, boolean fixGradualLateralOffset)
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, java.util.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, Length lateralCenterPositionStart, Length lateralCenterPositionEnd, Length width, java.util.Set<GTUType> gtuTypes, Stripe.Permeable permeable, boolean fixGradualLateralOffset)
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. -
Uses of CrossSectionLink in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict with parameters of type CrossSectionLink Modifier and Type Method Description void
LaneCombinationList. addLinkCombination(CrossSectionLink link1, CrossSectionLink link2)
Add any combination of lanes on both links to the list. -
Uses of CrossSectionLink in org.opentrafficsim.road.network.sampling
Methods in org.opentrafficsim.road.network.sampling that return CrossSectionLink Modifier and Type Method Description CrossSectionLink
LinkData. getLink()
Constructors in org.opentrafficsim.road.network.sampling with parameters of type CrossSectionLink Constructor Description LinkData(CrossSectionLink link)