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.
|
Modifier and Type | Method and Description |
---|---|
protected GraphPath<KpiLaneDirection> |
AbstractSamplerPlot.getPath()
Returns the path.
|
Modifier and Type | Method and Description |
---|---|
static FundamentalDiagram.FdSource |
FundamentalDiagram.sourceFromSampler(Sampler<?> sampler,
GraphPath<KpiLaneDirection> path,
boolean aggregateLanes,
Duration aggregationTime)
Creates a
Source from a sampler and positions. |
Constructor and Description |
---|
AbstractSamplerPlot(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(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(String caption,
Duration updateInterval,
OTSSimulatorInterface simulator,
Sampler<?> sampler,
GraphPath<KpiLaneDirection> path)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.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.createSingleLanePath(String name,
LaneDirection lane)
Creates a single-lane path.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.