| Package | Description | 
|---|---|
| org.opentrafficsim.draw.graphs | 
 Various graphs that function on generic meta-data (like which path) and data structures. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static FundamentalDiagram.Quantity | 
FundamentalDiagram.Quantity.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static FundamentalDiagram.Quantity[] | 
FundamentalDiagram.Quantity.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract double | 
FundamentalDiagram.Quantity.computeOther(FundamentalDiagram.Quantity pairing,
            double thisValue,
            double pairedValue)
Compute the value of the 3rd quantity. 
 | 
| Constructor and Description | 
|---|
FundamentalDiagram(String caption,
                  FundamentalDiagram.Quantity domainQuantity,
                  FundamentalDiagram.Quantity rangeQuantity,
                  OTSSimulatorInterface simulator,
                  FundamentalDiagram.FdSource source)
Constructor. 
 | 
FundamentalDiagram(String caption,
                  FundamentalDiagram.Quantity domainQuantity,
                  FundamentalDiagram.Quantity rangeQuantity,
                  OTSSimulatorInterface simulator,
                  Sampler<?> sampler,
                  GraphCrossSection<KpiLaneDirection> crossSection,
                  boolean aggregateLanes,
                  Duration aggregationTime,
                  boolean harmonic)
Constructor using a sampler as source. 
 | 
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. 
 | 
Copyright © 2014–2019 Delft University of Technology. All rights reserved.