Uses of Class
org.opentrafficsim.road.network.lane.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.
|
-
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 java.util.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.PlacementCFRoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementLaneBasedGTUGenerator.RoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementTTCRoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.static GeneratorPositionsGeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream)Create a GeneratorPositions object to draw positions from.static GeneratorPositionsGeneratorPositions. 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 GeneratorPositionsGeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases biases)Create a GeneratorPositions object to draw positions from.static GeneratorPositionsGeneratorPositions. 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.voidLaneBasedGTUGenerator. placeGtu(LaneBasedGTUCharacteristics characteristics, java.util.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, java.util.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 DirectedLanePositionAbstractLaneBasedGTU. getReferencePosition()Return the current Lane, position and directionality of the GTU.DirectedLanePositionAbstractLaneBasedGTU2. getReferencePosition()Return the current Lane, position and directionality of the GTU.DirectedLanePositionLaneBasedGTU. 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 java.util.Set<DirectedLanePosition>LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder. getInitialLongitudinalPositions()Method parameters in org.opentrafficsim.road.gtu.lane with type arguments of type DirectedLanePosition Modifier and Type Method Description voidAbstractLaneBasedGTU. init(LaneBasedStrategicalPlanner strategicalPlanner, java.util.Set<DirectedLanePosition> initialLongitudinalPositions, Speed initialSpeed)voidAbstractLaneBasedGTU2. init(LaneBasedStrategicalPlanner strategicalPlanner, java.util.Set<DirectedLanePosition> initialLongitudinalPositions, Speed initialSpeed)voidAbstractLaneBasedGTU. reinit(java.util.Set<DirectedLanePosition> initialLongitudinalPositions)Reinitializes the GTU on the network using the existing strategical planner and zero speed.voidAbstractLaneBasedGTU2. reinit(java.util.Set<DirectedLanePosition> initialLongitudinalPositions)Reinitializes the GTU on the network using the existing strategical planner and zero speed.LaneBasedIndividualGTU.LaneBasedIndividualCarBuilderLaneBasedIndividualGTU.LaneBasedIndividualCarBuilder. setInitialLongitudinalPositions(java.util.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 voidLaneStructure. update(DirectedLanePosition pos, Route route, GTUType gtuType)Updates the underlying structure shifting the root position to the input.voidRollingLaneStructure. 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 OTSLine3DLaneChange. getPath(Duration timeStep, LaneBasedGTU gtu, DirectedLanePosition from, DirectedPoint startPosition, Length planDistance, LateralDirectionality laneChangeDirection)Returns the path for a lane change.OTSLine3DLaneChange.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.OTSLine3DLaneChange.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.OTSLine3DLaneChange.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.