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<org.opentrafficsim.kpi.sampling.KpiLaneDirection>AbstractSamplerPlot. getPath()Returns the path.(package private) GraphPath<org.opentrafficsim.kpi.sampling.KpiLaneDirection>ContourDataSource. getPath()Returns the path for anAbstractContourPlotusing thisContourDataSource.Methods in org.opentrafficsim.draw.graphs with parameters of type GraphPath Modifier and Type Method Description static voidGraphPath. initRecording(org.opentrafficsim.kpi.sampling.Sampler<?> sampler, GraphPath<org.opentrafficsim.kpi.sampling.KpiLaneDirection> path)Start recording along path.static FundamentalDiagram.FdSourceFundamentalDiagram. sourceFromSampler(org.opentrafficsim.kpi.sampling.Sampler<?> sampler, GraphPath<org.opentrafficsim.kpi.sampling.KpiLaneDirection> path, boolean aggregateLanes, Duration aggregationTime)Creates aSourcefrom a sampler and positions.Constructors in org.opentrafficsim.draw.graphs with parameters of type GraphPath Constructor Description AbstractSamplerPlot(String caption, Duration updateInterval, org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator, org.opentrafficsim.kpi.sampling.SamplerData<?> samplerData, GraphPath<org.opentrafficsim.kpi.sampling.KpiLaneDirection> path, Duration delay)Constructor.ContourDataSource(org.opentrafficsim.kpi.sampling.SamplerData<G> samplerData, Duration delay, GraphPath<org.opentrafficsim.kpi.sampling.KpiLaneDirection> path, double[] spaceGranularity, int initSpaceIndex, double[] timeGranularity, int initTimeIndex, Time start, Time initialEnd)Constructor for non-default input.ContourDataSource(org.opentrafficsim.kpi.sampling.SamplerData<G> samplerData, GraphPath<org.opentrafficsim.kpi.sampling.KpiLaneDirection> path)Constructor using default granularities.TrajectoryPlot(String caption, Duration updateInterval, org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator, org.opentrafficsim.kpi.sampling.SamplerData<?> samplerData, GraphPath<org.opentrafficsim.kpi.sampling.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<org.opentrafficsim.kpi.sampling.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<org.opentrafficsim.kpi.sampling.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<org.opentrafficsim.kpi.sampling.KpiLaneDirection>GraphLaneUtil. createSingleLanePath(String name, LaneDirection lane)Creates a single-lane path.
-