Uses of Class
org.opentrafficsim.draw.graphs.GraphPath
Packages that use GraphPath
Package
Description
Various graphs that function on generic meta-data (like which path) and data structures.
Basic graphs for traffic simulation.
-
Uses of GraphPath in org.opentrafficsim.draw.graphs
Methods in org.opentrafficsim.draw.graphs that return GraphPathModifier and TypeMethodDescriptionfinal GraphPath<? extends org.opentrafficsim.kpi.interfaces.LaneData>
AbstractSamplerPlot.getPath()
Returns the path.(package private) final GraphPath<? extends org.opentrafficsim.kpi.interfaces.LaneData>
ContourDataSource.getPath()
Returns the path for anAbstractContourPlot
using thisContourDataSource
.Methods in org.opentrafficsim.draw.graphs with parameters of type GraphPathModifier and TypeMethodDescriptionstatic <L extends org.opentrafficsim.kpi.interfaces.LaneData>
voidGraphPath.initRecording
(org.opentrafficsim.kpi.sampling.Sampler<?, L> sampler, GraphPath<L> path) Start recording along path.static FundamentalDiagram.FdSource
FundamentalDiagram.sourceFromSampler
(RoadSampler sampler, GraphPath<LaneDataRoad> path, boolean aggregateLanes, Duration aggregationTime) Creates aSource
from a sampler and positions.Constructors in org.opentrafficsim.draw.graphs with parameters of type GraphPathModifierConstructorDescriptionAbstractSamplerPlot
(String caption, Duration updateInterval, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator, org.opentrafficsim.kpi.sampling.SamplerData<?> samplerData, GraphPath<? extends org.opentrafficsim.kpi.interfaces.LaneData> path, Duration delay) Constructor.ContourDataSource
(org.opentrafficsim.kpi.sampling.SamplerData<?> samplerData, Duration delay, GraphPath<? extends org.opentrafficsim.kpi.interfaces.LaneData> path, double[] spaceGranularity, int initSpaceIndex, double[] timeGranularity, int initTimeIndex, Time start, Time initialEnd) Constructor for non-default input.ContourDataSource
(org.opentrafficsim.kpi.sampling.SamplerData<?> samplerData, GraphPath<? extends org.opentrafficsim.kpi.interfaces.LaneData> path) Constructor using default granularities.TrajectoryPlot
(String caption, Duration updateInterval, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator, org.opentrafficsim.kpi.sampling.SamplerData<?> samplerData, GraphPath<? extends org.opentrafficsim.kpi.interfaces.LaneData> path) Constructor. -
Uses of GraphPath in org.opentrafficsim.draw.graphs.road
Methods in org.opentrafficsim.draw.graphs.road that return GraphPathModifier and TypeMethodDescriptionstatic GraphPath<LaneDataRoad>
GraphLaneUtil.createPath
(String name, Lane first) Creates a path starting at the provided lane and moving downstream until a dead-end, split, or loop.static GraphPath<LaneDataRoad>
GraphLaneUtil.createPath
(List<String> names, List<Lane> first) Creates a path starting at the provided lanes and moving downstream for as long as no lane finds a loop (on to any of the lanes) and there's a unique link all lanes have downstream.static GraphPath<LaneDataRoad>
GraphLaneUtil.createSingleLanePath
(String name, Lane lane) Creates a single-lane path.