Uses of Class
org.opentrafficsim.draw.graphs.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 FundamentalDiagram.FdSourceFundamentalDiagram. sourceFromSampler(Sampler<?> sampler, GraphPath<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(java.lang.String caption, Duration updateInterval, OTSSimulatorInterface simulator, Sampler<?> sampler, GraphPath<KpiLaneDirection> path, Duration delay)Constructor.ContourDataSource(Sampler<G> sampler, Duration delay, GraphPath<KpiLaneDirection> path, double[] spaceGranularity, int initSpaceIndex, double[] timeGranularity, int initTimeIndex, Time start, Time initialEnd)Constructor for non-default input.ContourDataSource(Sampler<G> sampler, GraphPath<KpiLaneDirection> path)Constructor using default granularities.FundamentalDiagram(java.lang.String caption, FundamentalDiagram.Quantity domainQuantity, FundamentalDiagram.Quantity rangeQuantity, OTSSimulatorInterface simulator, Sampler<?> sampler, GraphPath<KpiLaneDirection> path, boolean aggregateLanes, Duration aggregationTime)Constructor using a sampler as source.TrajectoryPlot(java.lang.String caption, Duration updateInterval, OTSSimulatorInterface simulator, Sampler<?> sampler, 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(java.lang.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(java.util.List<java.lang.String> names, java.util.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(java.lang.String name, LaneDirection lane)Creates a single-lane path.