public static interface FundamentalDiagram.FdSource
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
 
 BSD-style license. See OpenTrafficSim License.
 
| Modifier and Type | Method and Description | 
|---|---|
Duration | 
getAggregationPeriod()
The aggregation period. 
 | 
Duration | 
getDelay()
Return the delay for graph updates so future influencing events have occurred, e.d. 
 | 
double | 
getDensity(int series,
          int item)
Return the SI density value of item in series. 
 | 
double | 
getFlow(int series,
       int item)
Return the SI flow value of item in series. 
 | 
int | 
getItemCount(int series)
Returns the number of items in the series. 
 | 
String | 
getName(int series)
Returns a name of the series. 
 | 
int | 
getNumberOfSeries()
Returns the number of series (i.e. 
 | 
default double[] | 
getPossibleAggregationPeriods()
Returns the possible intervals. 
 | 
default int[] | 
getPossibleUpdateFrequencies()
Returns the possible frequencies, as a factor on 1 / 'aggregation interval'. 
 | 
double | 
getSpeed(int series,
        int item)
Return the SI speed value of item in series. 
 | 
Duration | 
getUpdateInterval()
The update interval. 
 | 
void | 
increaseTime(Time time)
Increase the time span. 
 | 
void | 
setAggregationPeriod(Duration period)
Changes the aggregation period. 
 | 
void | 
setUpdateInterval(Duration interval,
                 Time time,
                 FundamentalDiagram fd)
Changes the update interval. 
 | 
default double[] getPossibleAggregationPeriods()
default int[] getPossibleUpdateFrequencies()
Duration getUpdateInterval()
void setUpdateInterval(Duration interval, Time time, FundamentalDiagram fd)
interval - Duration; update intervaltime - Time; time until which data has to be recalculatedfd - FundamentalDiagram; the fundamental diagram to notify when data is readyDuration getAggregationPeriod()
void setAggregationPeriod(Duration period)
period - Duration; aggregation periodDuration getDelay()
void increaseTime(Time time)
time - Time; time to increase toint getNumberOfSeries()
String getName(int series)
series - int; series numberint getItemCount(int series)
series - int; series numberdouble getFlow(int series,
               int item)
series - int; series numberitem - int; item number in the seriesdouble getDensity(int series,
                  int item)
series - int; series numberitem - int; item number in the seriesdouble getSpeed(int series,
                int item)
series - int; series numberitem - int; item number in the seriesCopyright © 2014–2019 Delft University of Technology. All rights reserved.