Uses of Class
org.opentrafficsim.draw.graphs.GraphPath
-
Packages that use GraphPath Package Description org.opentrafficsim.draw.graphs Various graphs that function on generic meta-data (like which path) and data structures.org.opentrafficsim.draw.graphs.road Basic graphs for traffic simulation. -
-
Uses of GraphPath in org.opentrafficsim.draw.graphs
Methods in org.opentrafficsim.draw.graphs that return GraphPath Modifier and Type Method Description GraphPath<KpiLaneDirection>
AbstractSamplerPlot. getPath()
Returns the path.Methods in org.opentrafficsim.draw.graphs with parameters of type GraphPath Modifier and Type Method Description static void
GraphPath. initRecording(Sampler<?> sampler, GraphPath<KpiLaneDirection> path)
Start recording along path.static FundamentalDiagram.FdSource
FundamentalDiagram. sourceFromSampler(Sampler<?> sampler, GraphPath<KpiLaneDirection> path, boolean aggregateLanes, Duration aggregationTime)
Creates aSource
from a sampler and positions.Constructors in org.opentrafficsim.draw.graphs with parameters of type GraphPath Constructor Description AbstractSamplerPlot(String caption, Duration updateInterval, OTSSimulatorInterface simulator, SamplerData<?> samplerData, GraphPath<KpiLaneDirection> path, Duration delay)
Constructor.ContourDataSource(SamplerData<G> samplerData, Duration delay, GraphPath<KpiLaneDirection> path, double[] spaceGranularity, int initSpaceIndex, double[] timeGranularity, int initTimeIndex, Time start, Time initialEnd)
Constructor for non-default input.ContourDataSource(SamplerData<G> samplerData, GraphPath<KpiLaneDirection> path)
Constructor using default granularities.TrajectoryPlot(String caption, Duration updateInterval, OTSSimulatorInterface simulator, SamplerData<?> samplerData, GraphPath<KpiLaneDirection> path)
Constructor. -
Uses of GraphPath in org.opentrafficsim.draw.graphs.road
Methods in org.opentrafficsim.draw.graphs.road that return GraphPath Modifier and Type Method Description static GraphPath<KpiLaneDirection>
GraphLaneUtil. createPath(String name, LaneDirection first)
Creates a path starting at the provided lane and moving downstream until a dead-end, split, or loop.static GraphPath<KpiLaneDirection>
GraphLaneUtil. createPath(List<String> names, List<LaneDirection> 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<KpiLaneDirection>
GraphLaneUtil. createSingleLanePath(String name, LaneDirection lane)
Creates a single-lane path.
-