Uses of Class
org.opentrafficsim.road.network.lane.DirectedLanePosition
-
Packages that use DirectedLanePosition Package Description org.opentrafficsim.road.gtu.generator Generate GTUs according to some prescription.org.opentrafficsim.road.gtu.lane The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.org.opentrafficsim.road.gtu.lane.perception Implementation of lane-based perception for the GTU.org.opentrafficsim.road.gtu.lane.plan.operational Specific operational plan method for road-vehicles operating in a lane-based network.org.opentrafficsim.road.gtu.lane.tactical.routesystem A route system provides lane-level lane change information regarding mandatory lane changes. -
-
Uses of DirectedLanePosition in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator that return types with arguments of type DirectedLanePosition Modifier and Type Method Description Set<DirectedLanePosition>
LaneBasedGTUGenerator.Placement. getPosition()
Returns the position.Method parameters in org.opentrafficsim.road.gtu.generator with type arguments of type DirectedLanePosition Modifier and Type Method Description LaneBasedGTUGenerator.Placement
CFRoomChecker. canPlace(SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, Set<DirectedLanePosition> initialPosition)
Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.Placement
LaneBasedGTUGenerator.RoomChecker. canPlace(SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, Set<DirectedLanePosition> initialPosition)
Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.Placement
TTCRoomChecker. canPlace(SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, Set<DirectedLanePosition> initialPosition)
Return the maximum safe speed and position for a new GTU with the specified characteristics.static GeneratorPositions
GeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream)
Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream, Map<CrossSectionLink,Double> linkWeights, Map<CrossSectionLink,Node> viaNodes)
Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases biases)
Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases laneBiases, Map<CrossSectionLink,Double> linkWeights, Map<CrossSectionLink,Node> viaNodes)
Create a GeneratorPositions object to draw positions from.void
LaneBasedGTUGenerator. placeGtu(LaneBasedGTUCharacteristics characteristics, Set<DirectedLanePosition> position, Speed speed)
Places a GTU, regardless of whether it has room.Constructor parameters in org.opentrafficsim.road.gtu.generator with type arguments of type DirectedLanePosition Constructor Description Placement(Speed speed, Set<DirectedLanePosition> position)
Constructor. -
Uses of DirectedLanePosition in org.opentrafficsim.road.gtu.lane
Methods in org.opentrafficsim.road.gtu.lane that return DirectedLanePosition Modifier and Type Method Description DirectedLanePosition
AbstractLaneBasedGTU. getReferencePosition()
Return the current Lane, position and directionality of the GTU.DirectedLanePosition
AbstractLaneBasedGTU2. getReferencePosition()
Return the current Lane, position and directionality of the GTU.DirectedLanePosition
LaneBasedGTU. getReferencePosition()
Return the current Lane, position and directionality of the GTU.Methods in org.opentrafficsim.road.gtu.lane that return types with arguments of type DirectedLanePosition Modifier and Type Method Description Set<DirectedLanePosition>
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder. getInitialLongitudinalPositions()
Method parameters in org.opentrafficsim.road.gtu.lane with type arguments of type DirectedLanePosition Modifier and Type Method Description void
AbstractLaneBasedGTU. init(LaneBasedStrategicalPlanner strategicalPlanner, Set<DirectedLanePosition> initialLongitudinalPositions, Speed initialSpeed)
void
AbstractLaneBasedGTU2. init(LaneBasedStrategicalPlanner strategicalPlanner, Set<DirectedLanePosition> initialLongitudinalPositions, Speed initialSpeed)
void
AbstractLaneBasedGTU. reinit(Set<DirectedLanePosition> initialLongitudinalPositions)
Reinitializes the GTU on the network using the existing strategical planner and zero speed.void
AbstractLaneBasedGTU2. reinit(Set<DirectedLanePosition> initialLongitudinalPositions)
Reinitializes the GTU on the network using the existing strategical planner and zero speed.LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder. setInitialLongitudinalPositions(Set<DirectedLanePosition> initialLongitudinalPositions)
-
Uses of DirectedLanePosition in org.opentrafficsim.road.gtu.lane.perception
Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type DirectedLanePosition Modifier and Type Method Description void
LaneStructure. update(DirectedLanePosition pos, Route route, GTUType gtuType)
Updates the underlying structure shifting the root position to the input.void
RollingLaneStructure. update(DirectedLanePosition pos, Route route, GTUType gtuType)
Updates the underlying structure shifting the root position to the input. -
Uses of DirectedLanePosition in org.opentrafficsim.road.gtu.lane.plan.operational
Methods in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type DirectedLanePosition Modifier and Type Method Description OTSLine3D
LaneChange. getPath(Duration timeStep, LaneBasedGTU gtu, DirectedLanePosition from, DirectedPoint startPosition, Length planDistance, LateralDirectionality laneChangeDirection)
Returns the path for a lane change.OTSLine3D
LaneChange.LaneChangePath. getPath(Duration timeStep, Length planDistance, Speed meanSpeed, DirectedLanePosition from, DirectedPoint startPosition, LateralDirectionality laneChangeDirection, OTSLine3D fromLine, OTSLine3D toLine, Duration laneChangeDuration, double lcFraction)
Returns a (partial) path for a lane change.OTSLine3D
LaneChange.LaneChangePath.InterpolatedLaneChangePath. getPath(Duration timeStep, Length planDistance, Speed meanSpeed, DirectedLanePosition from, DirectedPoint startPosition, LateralDirectionality laneChangeDirection, OTSLine3D fromLine, OTSLine3D toLine, Duration laneChangeDuration, double lcFraction)
Returns a (partial) path for a lane change.OTSLine3D
LaneChange.LaneChangePath.SequentialLaneChangePath. getPath(Duration timeStep, Length planDistance, Speed meanSpeed, DirectedLanePosition from, DirectedPoint startPosition, LateralDirectionality laneChangeDirection, OTSLine3D fromLine, OTSLine3D toLine, Duration laneChangeDuration, double lcFraction)
Returns a (partial) path for a lane change. -
Uses of DirectedLanePosition in org.opentrafficsim.road.gtu.lane.tactical.routesystem
Methods in org.opentrafficsim.road.gtu.lane.tactical.routesystem with parameters of type DirectedLanePosition Modifier and Type Method Description SortedSet<LaneChangeInfo>
DefaultRouteSystem. getLaneChangeInfo(DirectedLanePosition position, Length front, Route route, GTUType gtuType, Length distance)
Returns lane change information from a position over a given length, according to a route and GTU type.SortedSet<LaneChangeInfo>
RouteSystem. getLaneChangeInfo(DirectedLanePosition position, Length front, Route route, GTUType gtuType, Length distance)
Returns lane change information from a position over a given length, according to a route and GTU type.
-