Uses of Class
org.opentrafficsim.road.network.OTSRoadNetwork
-
Packages that use OTSRoadNetwork Package Description org.opentrafficsim.road.gtu.generator Generate GTUs according to some prescription.org.opentrafficsim.road.gtu.generator.od OD based vehicle generation.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.perception.mental.sdm Package for the Stochastic Distraction Model by and in cooperation with Manuel Lindorfer (manuel.lindorfer@fh-ooe.at).org.opentrafficsim.road.network 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.lane.object.sensor Lane-based objects that act as sensors.org.opentrafficsim.road.network.sampling Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. -
-
Uses of OTSRoadNetwork in org.opentrafficsim.road.gtu.generator
-
Uses of OTSRoadNetwork in org.opentrafficsim.road.gtu.generator.od
Methods in org.opentrafficsim.road.gtu.generator.od with parameters of type OTSRoadNetwork Modifier and Type Method Description static Map<String,ODApplier.GeneratorObjects>
ODApplier. applyOD(OTSRoadNetwork network, ODMatrix od, ODOptions odOptions)
Applies the OD to the network by creating vehicle generators. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.gtu.lane
Methods in org.opentrafficsim.road.gtu.lane that return OTSRoadNetwork Modifier and Type Method Description OTSRoadNetwork
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder. getNetwork()
Methods in org.opentrafficsim.road.gtu.lane with parameters of type OTSRoadNetwork Modifier and Type Method Description LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder. setNetwork(OTSRoadNetwork network)
Constructors in org.opentrafficsim.road.gtu.lane with parameters of type OTSRoadNetwork Constructor Description AbstractLaneBasedGTU(String id, GTUType gtuType, OTSRoadNetwork network)
Construct a Lane Based GTU.AbstractLaneBasedGTU2(String id, GTUType gtuType, OTSRoadNetwork network)
Construct a Lane Based GTU.AbstractLaneBasedIndividualGTU(String id, GTUType gtuType, Length length, Length width, Speed maximumSpeed, OTSSimulatorInterface simulator, OTSRoadNetwork network)
Construct a new AbstractLaneBasedIndividualGTU.LaneBasedIndividualGTU(String id, GTUType gtuType, Length length, Length width, Speed maximumSpeed, Length front, Length centerOfGravity, OTSSimulatorInterface simulator, OTSRoadNetwork network)
Construct a new LaneBasedIndividualGTU.LaneBasedIndividualGTU(String id, GTUType gtuType, Length length, Length width, Speed maximumSpeed, Length front, OTSSimulatorInterface simulator, OTSRoadNetwork network)
Construct a new LaneBasedIndividualGTU. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.gtu.lane.perception
Constructors in org.opentrafficsim.road.gtu.lane.perception with parameters of type OTSRoadNetwork Constructor Description SortedSetPerceptionIterable(OTSRoadNetwork otsNetwork)
Deprecated.Constructor. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.gtu.lane.perception.mental.sdm
Constructors in org.opentrafficsim.road.gtu.lane.perception.mental.sdm with parameters of type OTSRoadNetwork Constructor Description StochasticDistractionModel(boolean allowMultiTasking, List<Distraction> distractions, DEVSSimulatorInterface.TimeDoubleUnit simulator, OTSRoadNetwork network)
Constructor. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.network
Methods in org.opentrafficsim.road.network that return OTSRoadNetwork Modifier and Type Method Description static OTSRoadNetwork
OTSRoadNetworkUtils. clone(OTSRoadNetwork network, String newId, SimulatorInterface.TimeDoubleUnit oldSimulator, OTSSimulatorInterface newSimulator)
Clone the OTSRoadNetwork.Methods in org.opentrafficsim.road.network with parameters of type OTSRoadNetwork Modifier and Type Method Description static OTSRoadNetwork
OTSRoadNetworkUtils. clone(OTSRoadNetwork network, String newId, SimulatorInterface.TimeDoubleUnit oldSimulator, OTSSimulatorInterface newSimulator)
Clone the OTSRoadNetwork.static void
OTSRoadNetworkUtils. destroy(OTSRoadNetwork network, SimulatorInterface.TimeDoubleUnit simulator)
Remove all objects and animation in the road network. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.network.factory
Methods in org.opentrafficsim.road.network.factory that return OTSRoadNetwork Modifier and Type Method Description static OTSRoadNetwork
OTSRoadNetworkUtils. copy(OTSRoadNetwork network)
Make a copy of the network, without GTUs and listeners.Methods in org.opentrafficsim.road.network.factory with parameters of type OTSRoadNetwork Modifier and Type Method Description static OTSRoadNetwork
OTSRoadNetworkUtils. copy(OTSRoadNetwork network)
Make a copy of the network, without GTUs and listeners.static Lane
LaneFactory. makeLane(OTSRoadNetwork network, String name, OTSRoadNode from, OTSRoadNode to, OTSPoint3D[] intermediatePoints, LaneType laneType, Speed speedLimit, OTSSimulatorInterface simulator)
Create a simple Lane.static CrossSectionLink
LaneFactory. makeLink(OTSRoadNetwork network, String name, OTSRoadNode from, OTSRoadNode to, OTSPoint3D[] intermediatePoints, OTSSimulatorInterface simulator)
Create a Link along intermediate coordinates from one Node to another.static Lane[]
LaneFactory. makeMultiLane(OTSRoadNetwork network, String name, OTSRoadNode from, OTSRoadNode to, OTSPoint3D[] intermediatePoints, int laneCount, int laneOffsetAtStart, int laneOffsetAtEnd, LaneType laneType, Speed speedLimit, OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane.static Lane[]
LaneFactory. makeMultiLane(OTSRoadNetwork network, String name, OTSRoadNode from, OTSRoadNode to, OTSPoint3D[] intermediatePoints, int laneCount, LaneType laneType, Speed speedLimit, OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane.static Lane[]
LaneFactory. makeMultiLaneBezier(OTSRoadNetwork network, String name, OTSRoadNode n1, OTSRoadNode n2, OTSRoadNode n3, OTSRoadNode n4, int laneCount, int laneOffsetAtStart, int laneOffsetAtEnd, LaneType laneType, Speed speedLimit, OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes, based on a Bezier curve.
This method returns an array of Lane.static String
OTSRoadNetworkUtils. toXml(OTSRoadNetwork network)
Create an xml-version of the network.static void
OTSRoadNetworkUtils. toXml(OTSRoadNetwork network, OutputStream out)
Create an xml-version of the network.static void
OTSRoadNetworkUtils. toXml(OTSRoadNetwork network, Writer writer)
Create an xml-version of the network.Constructors in org.opentrafficsim.road.network.factory with parameters of type OTSRoadNetwork Constructor Description LaneFactory(OTSRoadNetwork network, OTSRoadNode from, OTSRoadNode to, LinkType type, OTSSimulatorInterface simulator, LaneKeepingPolicy policy)
LaneFactory(OTSRoadNetwork network, OTSRoadNode from, OTSRoadNode to, LinkType type, OTSSimulatorInterface simulator, LaneKeepingPolicy policy, OTSLine3D line)
-
Uses of OTSRoadNetwork in org.opentrafficsim.road.network.lane
Methods in org.opentrafficsim.road.network.lane that return OTSRoadNetwork Modifier and Type Method Description OTSRoadNetwork
CrossSectionLink. getNetwork()
Constructors in org.opentrafficsim.road.network.lane with parameters of type OTSRoadNetwork Constructor Description CrossSectionLink(OTSRoadNetwork network, String id, OTSRoadNode startNode, OTSRoadNode endNode, LinkType linkType, OTSLine3D designLine, LaneKeepingPolicy laneKeepingPolicy)
Construction of a cross section link.CrossSectionLink(OTSRoadNetwork newNetwork, CrossSectionLink link)
Clone a CrossSectionLink for a new network. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict with parameters of type OTSRoadNetwork Modifier and Type Method Description static void
ConflictBuilder. buildConflicts(OTSRoadNetwork network, GTUType gtuType, DEVSSimulatorInterface.TimeDoubleUnit simulator, ConflictBuilder.WidthGenerator widthGenerator)
Build conflicts on network.static void
ConflictBuilder. buildConflicts(OTSRoadNetwork network, GTUType gtuType, DEVSSimulatorInterface.TimeDoubleUnit simulator, ConflictBuilder.WidthGenerator widthGenerator, LaneCombinationList ignoreList, LaneCombinationList permittedList)
Build conflicts on network.static void
ConflictBuilderParallel. buildConflicts(OTSRoadNetwork network, GTUType gtuType, DEVSSimulatorInterface.TimeDoubleUnit simulator, ConflictBuilderParallel.WidthGenerator widthGenerator)
Build conflicts on network.static void
ConflictBuilderParallel. buildConflicts(OTSRoadNetwork network, GTUType gtuType, DEVSSimulatorInterface.TimeDoubleUnit simulator, ConflictBuilderParallel.WidthGenerator widthGenerator, LaneCombinationList ignoreList, LaneCombinationList permittedList)
Build conflicts on network.static void
ConflictBuilder. buildConflictsParallel(OTSRoadNetwork network, Map<String,Set<Link>> conflictCandidateMap, GTUType gtuType, DEVSSimulatorInterface.TimeDoubleUnit 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 void
ConflictBuilder. buildConflictsParallel(OTSRoadNetwork network, GTUType gtuType, DEVSSimulatorInterface.TimeDoubleUnit simulator, ConflictBuilder.WidthGenerator widthGenerator)
Build conflicts on network; parallel implementation.static void
ConflictBuilder. buildConflictsParallel(OTSRoadNetwork network, GTUType gtuType, DEVSSimulatorInterface.TimeDoubleUnit simulator, ConflictBuilder.WidthGenerator widthGenerator, LaneCombinationList ignoreList, LaneCombinationList permittedList)
Build conflicts on network; parallel implementation. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.network.lane.object.sensor
Methods in org.opentrafficsim.road.network.lane.object.sensor with parameters of type OTSRoadNetwork Modifier and Type Method Description static void
Detector. writeToFile(OTSRoadNetwork network, String file, boolean periodic)
Write the contents of all detectors in to a file.static <C> void
Detector. writeToFile(OTSRoadNetwork network, String file, boolean periodic, String format, Detector.CompressionMethod compression)
Write the contents of all detectors in to a file. -
Uses of OTSRoadNetwork in org.opentrafficsim.road.network.sampling
Methods in org.opentrafficsim.road.network.sampling with parameters of type OTSRoadNetwork Modifier and Type Method Description static RoadSampler.Factory
RoadSampler. build(OTSRoadNetwork network)
Returns a factory to create a sampler.Constructors in org.opentrafficsim.road.network.sampling with parameters of type OTSRoadNetwork Constructor Description RoadSampler(Set<ExtendedDataType<?,?,?,GtuData>> extendedDataTypes, Set<FilterDataType<?>> filterDataTypes, OTSRoadNetwork network)
Constructor which uses the operational plan updates of GTU's as sampling interval.RoadSampler(Set<ExtendedDataType<?,?,?,GtuData>> extendedDataTypes, Set<FilterDataType<?>> filterDataTypes, OTSRoadNetwork network, Frequency frequency)
Constructor which uses the given frequency to determine the sampling interval.RoadSampler(OTSRoadNetwork network)
Constructor which uses the operational plan updates of GTU's as sampling interval.RoadSampler(OTSRoadNetwork network, Frequency frequency)
Constructor which uses the given frequency to determine the sampling interval.
-