Uses of Class
org.opentrafficsim.road.network.RoadNetwork
Packages that use RoadNetwork
Package
Description
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.
Generate GTUs according to some prescription.
Package for the Stochastic Distraction Model by and in cooperation with Manuel Lindorfer (manuel.lindorfer@fh-ooe.at).
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
Contains classes describing intersection conflicts.
Factories for Links, Lanes, Nodes.
Lane-based objects that act as sensors.
Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
O/D matrices as part of strategical planning for GTUs.
-
Uses of RoadNetwork in org.opentrafficsim.road.gtu
Methods in org.opentrafficsim.road.gtu that return RoadNetworkConstructors in org.opentrafficsim.road.gtu with parameters of type RoadNetworkModifierConstructorDescriptionLaneBasedGtu(String id, GtuType gtuType, org.djunits.value.vdouble.scalar.Length length, org.djunits.value.vdouble.scalar.Length width, org.djunits.value.vdouble.scalar.Speed maximumSpeed, org.djunits.value.vdouble.scalar.Length front, RoadNetwork network) Construct a Lane Based GTU. -
Uses of RoadNetwork in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator with parameters of type RoadNetworkModifier and TypeMethodDescriptionvoidGtuSpawner.spawnGtu(String id, LaneBasedGtuCharacteristics templateGtuType, RoadNetwork network, org.djunits.value.vdouble.scalar.Speed speed, LanePosition position) Create a single GTU.Constructors in org.opentrafficsim.road.gtu.generator with parameters of type RoadNetworkModifierConstructorDescriptionLaneBasedGtuGenerator(String id, Supplier<org.djunits.value.vdouble.scalar.Duration> interarrivelTimeGenerator, LaneBasedGtuCharacteristicsGenerator laneBasedGtuCharacteristicsGenerator, GeneratorPositions generatorPositions, RoadNetwork network, OtsSimulatorInterface simulator, LaneBasedGtuGenerator.RoomChecker roomChecker, Supplier<String> idGenerator) Construct a new lane base GTU generator. -
Uses of RoadNetwork in org.opentrafficsim.road.gtu.perception.mental.sdm
Constructors in org.opentrafficsim.road.gtu.perception.mental.sdm with parameters of type RoadNetworkModifierConstructorDescriptionStochasticDistractionModel(boolean allowMultiTasking, List<Distraction> distractions, RoadNetwork network, Set<GtuType> gtuTypes) Constructor. -
Uses of RoadNetwork in org.opentrafficsim.road.network
Methods in org.opentrafficsim.road.network that return RoadNetworkModifier and TypeMethodDescriptionfinal RoadNetworkCrossSectionElement.getNetwork()Returns network.CrossSectionLink.getNetwork()Constructors in org.opentrafficsim.road.network with parameters of type RoadNetworkModifierConstructorDescriptionCrossSectionLink(RoadNetwork network, String id, Node startNode, Node endNode, LinkType linkType, OtsLine2d designLine, ContinuousPiecewiseLinearFunction elevation, LaneKeepingPolicy laneKeepingPolicy) Construction of a cross section link. -
Uses of RoadNetwork in org.opentrafficsim.road.network.conflict
Methods in org.opentrafficsim.road.network.conflict with parameters of type RoadNetworkModifier and TypeMethodDescriptionstatic voidConflictBuilder.buildConflicts(RoadNetwork network, OtsSimulatorInterface simulator, ConflictBuilder.WidthGenerator widthGenerator) Build conflicts on network.static voidConflictBuilder.buildConflicts(RoadNetwork network, OtsSimulatorInterface simulator, ConflictBuilder.WidthGenerator widthGenerator, LaneCombinationList ignoreList, LaneCombinationList permittedList) Build conflicts on network.static voidConflictBuilder.buildConflictsParallel(RoadNetwork network, Map<String, Set<Link>> conflictCandidateMap, OtsSimulatorInterface simulator, ConflictBuilder.WidthGenerator widthGenerator) Build conflicts on network using only the groups of links that have been identified as candidates with conflicts; parallel implementation.static voidConflictBuilder.buildConflictsParallel(RoadNetwork network, OtsSimulatorInterface simulator, ConflictBuilder.WidthGenerator widthGenerator) Build conflicts on network; parallel implementation.static voidConflictBuilder.buildConflictsParallel(RoadNetwork network, OtsSimulatorInterface simulator, ConflictBuilder.WidthGenerator widthGenerator, LaneCombinationList ignoreList, LaneCombinationList permittedList) Build conflicts on network; parallel implementation. -
Uses of RoadNetwork in org.opentrafficsim.road.network.factory
Methods in org.opentrafficsim.road.network.factory with parameters of type RoadNetworkModifier and TypeMethodDescriptionstatic LaneLaneFactory.makeLane(RoadNetwork network, String name, Node from, Node to, Point2d[] intermediatePoints, LaneType laneType, LaneSpeedLimits speedLimits, OtsSimulatorInterface simulator) Create a simple Lane.static CrossSectionLinkLaneFactory.makeLink(RoadNetwork network, String name, Node from, Node to, Point2d[] intermediatePoints, OtsSimulatorInterface simulator) Create a Link along intermediate coordinates from one Node to another.static Lane[]LaneFactory.makeMultiLane(RoadNetwork network, String name, Node from, Node to, Point2d[] intermediatePoints, int laneCount, int laneOffsetAtStart, int laneOffsetAtEnd, LaneType laneType, LaneSpeedLimits speedLimits, OtsSimulatorInterface simulator) Create a simple road with the specified number of Lanes.
This method returns an array of Lane.static Lane[]LaneFactory.makeMultiLane(RoadNetwork network, String name, Node from, Node to, Point2d[] intermediatePoints, int laneCount, LaneType laneType, LaneSpeedLimits speedLimits, OtsSimulatorInterface simulator) Create a simple road with the specified number of Lanes.
This method returns an array of Lane.static Lane[]LaneFactory.makeMultiLaneBezier(RoadNetwork network, String name, Node n1, Node n2, Node n3, Node n4, int laneCount, int laneOffsetAtStart, int laneOffsetAtEnd, LaneType laneType, LaneSpeedLimits speedLimits, OtsSimulatorInterface simulator) Create a simple road with the specified number of Lanes, based on a Bezier curve.
This method returns an array of Lane.Constructors in org.opentrafficsim.road.network.factory with parameters of type RoadNetworkModifierConstructorDescriptionLaneFactory(RoadNetwork network, Node from, Node to, LinkType type, OtsSimulatorInterface simulator, LaneKeepingPolicy policy) Constructor.LaneFactory(RoadNetwork network, Node from, Node to, LinkType type, OtsSimulatorInterface simulator, LaneKeepingPolicy policy, OffsetCurve2d line) Constructor. -
Uses of RoadNetwork in org.opentrafficsim.road.network.object.detector
Methods in org.opentrafficsim.road.network.object.detector with parameters of type RoadNetworkModifier and TypeMethodDescriptionstatic TableLoopDetector.asTableNonPeriodicData(RoadNetwork network, GtuType... gtuTypes) Returns a Table with all non-periodic data, such as vehicle passage times or platoon counts.static TableLoopDetector.asTablePeriodicData(RoadNetwork network, GtuType... gtuTypes) Returns a Table with all periodic data, such as flow and speed per minute.static TableLoopDetector.asTablePositions(RoadNetwork network) Returns a Table with loop detector positions. -
Uses of RoadNetwork in org.opentrafficsim.road.network.sampling
Methods in org.opentrafficsim.road.network.sampling with parameters of type RoadNetworkModifier and TypeMethodDescriptionstatic RoadSampler.FactoryRoadSampler.build(RoadNetwork network) Returns a factory to create a sampler.Constructors in org.opentrafficsim.road.network.sampling with parameters of type RoadNetworkModifierConstructorDescriptionRoadSampler(Set<ExtendedDataType<?, ?, ?, ? super GtuDataRoad>> extendedDataTypes, Set<FilterDataType<?, ? super GtuDataRoad>> filterDataTypes, RoadNetwork network) Constructor which uses the operational plan updates of GTU's as sampling interval.RoadSampler(Set<ExtendedDataType<?, ?, ?, ? super GtuDataRoad>> extendedDataTypes, Set<FilterDataType<?, ? super GtuDataRoad>> filterDataTypes, RoadNetwork network, org.djunits.value.vdouble.scalar.Frequency frequency) Constructor which uses the given frequency to determine the sampling interval.RoadSampler(RoadNetwork network) Constructor which uses the operational plan updates of GTU's as sampling interval.RoadSampler(RoadNetwork network, org.djunits.value.vdouble.scalar.Frequency frequency) Constructor which uses the given frequency to determine the sampling interval. -
Uses of RoadNetwork in org.opentrafficsim.road.od
Methods in org.opentrafficsim.road.od with parameters of type RoadNetworkModifier and TypeMethodDescriptionstatic Map<String,OdApplier.GeneratorObjects> OdApplier.applyOd(RoadNetwork network, OdMatrix od, OdOptions odOptions, DetectorType detectorType) Applies the OD to the network by creating vehicle generators.