|
MATSIM
|

Public Member Functions | |
| void | setAtHour (int hour, double value) |
| void | setAtMinute (int minute, double value) |
| void | setAtSecond (int seconds, double value) |
| OptionalDouble | getDailyValue () |
| void | setDailyValue (double value) |
| double | aggregateDaily () |
| OptionalDouble | getAtHour (int hour) |
| boolean | supportsHourlyAggregate () |
| OptionalDouble | aggregateAtHour (int hour) |
| OptionalDouble | getAtSecond (int second) |
| OptionalDouble | getAtMinute (int minutes) |
| String | getMode () |
| String | getMeasurableType () |
| int | getInterval () |
| Iterator< Int2DoubleMap.Entry > | iterator () |
| int | size () |
| boolean | equals (Object o) |
| int | hashCode () |
Static Public Attributes | |
| static final String | ANY_MODE = "any_vehicle" |
| static String | VOLUMES = "volumes" |
| static String | VELOCITIES = "velocities" |
| static String | PASSENGERS = "passengers" |
| static int | DAILY = 24 * 60 * 60 |
| static int | HOURLY = 60 * 60 |
| static int | QUARTER_HOURLY = 15 * 60 |
Private Attributes | |
| final String | type |
| final String | mode |
| final Int2DoubleSortedMap | values |
| final int | interval |
A MeasurementLocation station can hold any kind of measurable data to calibrate a scenario provided as an implementation of this interface. A single instance holds values for only one transport mode. Average velocities and traffic volumes are already implemented.
Definition at line 16 of file Measurable.java.
| void org.matsim.counts.Measurable.setAtHour | ( | int | hour, |
| double | value | ||
| ) |
Adds a value observed at a certain hour.
Definition at line 64 of file Measurable.java.
References org.matsim.counts.Measurable.setAtSecond().
Referenced by org.matsim.counts.Measurable.setDailyValue().

| void org.matsim.counts.Measurable.setAtMinute | ( | int | minute, |
| double | value | ||
| ) |
Adds a value observed at a certain minute. Note that the minute must match the given interval, for example if the intervall is set to 15 minutes the minute must be something like 15, 30, 45, 300 etc.
Definition at line 72 of file Measurable.java.
References org.matsim.counts.Measurable.setAtSecond().

| void org.matsim.counts.Measurable.setAtSecond | ( | int | seconds, |
| double | value | ||
| ) |
Definition at line 76 of file Measurable.java.
Referenced by org.matsim.counts.CountsReaderMatsimV2.addValuesToMeasurable(), org.matsim.counts.Measurable.setAtHour(), and org.matsim.counts.Measurable.setAtMinute().
| OptionalDouble org.matsim.counts.Measurable.getDailyValue | ( | ) |
Returns the observed daily value.
Definition at line 89 of file Measurable.java.
References org.matsim.counts.Measurable.getAtHour().

| void org.matsim.counts.Measurable.setDailyValue | ( | double | value | ) |
Definition at line 96 of file Measurable.java.
References org.matsim.counts.Measurable.setAtHour().

| double org.matsim.counts.Measurable.aggregateDaily | ( | ) |
| OptionalDouble org.matsim.counts.Measurable.getAtHour | ( | int | hour | ) |
Returns the observed value at a certain hour.
Definition at line 116 of file Measurable.java.
References org.matsim.counts.Measurable.getAtSecond().
Referenced by org.matsim.counts.Measurable.aggregateAtHour(), and org.matsim.counts.Measurable.getDailyValue().

| boolean org.matsim.counts.Measurable.supportsHourlyAggregate | ( | ) |
Whether the interval allows for an hourly aggregation.
Definition at line 123 of file Measurable.java.
References org.matsim.counts.Measurable.interval.
Referenced by org.matsim.counts.Measurable.aggregateAtHour(), org.matsim.counts.Count< T >.Count(), and org.matsim.counts.Count< T >.getVolume().
| OptionalDouble org.matsim.counts.Measurable.aggregateAtHour | ( | int | hour | ) |
Returns the aggregate for an specific hour. If the resolution does not allow this aggregation an error is thrpwn.
Definition at line 130 of file Measurable.java.
References org.matsim.counts.Measurable.getAtHour(), and org.matsim.counts.Measurable.supportsHourlyAggregate().
Referenced by org.matsim.counts.Count< T >.getVolume().

| OptionalDouble org.matsim.counts.Measurable.getAtSecond | ( | int | second | ) |
Definition at line 144 of file Measurable.java.
Referenced by org.matsim.counts.Measurable.getAtHour(), and org.matsim.counts.Measurable.getAtMinute().
| OptionalDouble org.matsim.counts.Measurable.getAtMinute | ( | int | minutes | ) |
Returns the observed value at a certain minute.
Definition at line 154 of file Measurable.java.
References org.matsim.counts.Measurable.getAtSecond().

| String org.matsim.counts.Measurable.getMode | ( | ) |
Returns the transport mode of the observed data.
Definition at line 161 of file Measurable.java.
References org.matsim.counts.Measurable.mode.
| String org.matsim.counts.Measurable.getMeasurableType | ( | ) |
Returns the name of the implementation. Information is needed for data writing.
Definition at line 168 of file Measurable.java.
References org.matsim.counts.Measurable.type.
| int org.matsim.counts.Measurable.getInterval | ( | ) |
Definition at line 172 of file Measurable.java.
References org.matsim.counts.Measurable.interval.
Referenced by org.matsim.counts.Count< T >.Count().
| Iterator<Int2DoubleMap.Entry> org.matsim.counts.Measurable.iterator | ( | ) |
| int org.matsim.counts.Measurable.size | ( | ) |
Number of entries.
Definition at line 187 of file Measurable.java.
Referenced by org.matsim.counts.Count< T >.toString().
| boolean org.matsim.counts.Measurable.equals | ( | Object | o | ) |
Definition at line 192 of file Measurable.java.
References org.matsim.counts.Measurable.interval, org.matsim.counts.Measurable.mode, org.matsim.counts.Measurable.type, and org.matsim.counts.Measurable.values.
| int org.matsim.counts.Measurable.hashCode | ( | ) |
Definition at line 200 of file Measurable.java.
|
static |
String to denote that the mode includes all vehicles.
Definition at line 21 of file Measurable.java.
Referenced by org.matsim.counts.Count< T >.Count().
|
static |
Definition at line 23 of file Measurable.java.
Referenced by org.matsim.counts.Count< T >.Count(), org.matsim.counts.MeasurementLocation<?>.createVolume(), and org.matsim.counts.MeasurementLocation<?>.getVolumesForMode().
|
static |
Definition at line 24 of file Measurable.java.
Referenced by org.matsim.counts.MeasurementLocation<?>.createVelocity().
|
static |
Definition at line 25 of file Measurable.java.
Referenced by org.matsim.counts.MeasurementLocation<?>.createPassengerCounts().
|
static |
Daily interval in seconds.
Definition at line 30 of file Measurable.java.
|
static |
Hourly interval in seconds.
Definition at line 34 of file Measurable.java.
Referenced by org.matsim.counts.Count< T >.Count(), org.matsim.counts.MeasurementLocation<?>.createVolume(), org.matsim.counts.Count< T >.getMaxVolume(), and org.matsim.counts.Count< T >.getVolumes().
|
static |
Quarter hourly interval in seconds.
Definition at line 38 of file Measurable.java.
|
private |
Definition at line 40 of file Measurable.java.
Referenced by org.matsim.counts.Measurable.equals(), and org.matsim.counts.Measurable.getMeasurableType().
|
private |
Definition at line 41 of file Measurable.java.
Referenced by org.matsim.counts.Measurable.equals(), and org.matsim.counts.Measurable.getMode().
|
private |
Definition at line 43 of file Measurable.java.
Referenced by org.matsim.counts.Measurable.equals().
|
private |
Measurement interval in minutes.
Definition at line 48 of file Measurable.java.
Referenced by org.matsim.counts.Measurable.equals(), org.matsim.counts.Measurable.getInterval(), and org.matsim.counts.Measurable.supportsHourlyAggregate().
1.8.13