|
MATSIM
|

Public Member Functions | |
| Counts () | |
| MeasurementLocation< T > | createAndAddMeasureLocation (final Id< T > id, String stationName) |
| String | getName () |
| void | setName (String name) |
| String | getDescription () |
| void | setDescription (String description) |
| String | getSource () |
| void | setSource (String source) |
| int | getYear () |
| void | setYear (int year) |
| Set< String > | getMeasurableTypes () |
| Map< Id< T >, MeasurementLocation< T > > | getMeasureLocations () |
| MeasurementLocation< T > | getMeasureLocation (Id< T > id) |
| final Count< T > | createAndAddCount (final Id< T > linkId, final String stationName) |
| Old API. More... | |
| final TreeMap< Id< T >, Count< T > > | getCounts () |
| Count< T > | getCount (final Id< T > locId) |
| Attributes | getAttributes () |
| String | toString () |
| MatsimFactory | getFactory () |
Static Public Attributes | |
| static final String | ELEMENT_NAME = "counts" |
Private Attributes | |
| final Map< Id< T >, MeasurementLocation< T > > | locations = new TreeMap<>() |
| final Attributes | attributes = new AttributesImpl() |
| String | name |
| String | description |
| String | source |
| int | year |
This class provides count object, that can assign any measurable values (traffic volumes, velocities e.g.) for any matsim transport mode to an identifiable object (links, nodes, transit stations e.g) Structure is similar to regular counts, but more flexible to use.
Definition at line 21 of file Counts.java.
| org.matsim.counts.Counts< T extends Identifiable< T >.Counts | ( | ) |
Definition at line 31 of file Counts.java.
| MeasurementLocation<T> org.matsim.counts.Counts< T extends Identifiable< T >.createAndAddMeasureLocation | ( | final Id< T > | id, |
| String | stationName | ||
| ) |
Creates a MeasurementLocation object and adds to count tree map. Argument has to be an id for an matsim Identifiable object (link, node, pt station e.g).
Definition at line 37 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.createAndAddCount(), and org.matsim.counts.CountsReaderMatsimV2.startMeasurementLocation().
| String org.matsim.counts.Counts< T extends Identifiable< T >.getName | ( | ) |
Definition at line 49 of file Counts.java.
| void org.matsim.counts.Counts< T extends Identifiable< T >.setName | ( | String | name | ) |
Definition at line 53 of file Counts.java.
Referenced by org.matsim.counts.CountsReaderMatsimV1.startCounts(), and org.matsim.counts.CountsReaderMatsimV2.startMultiModeCounts().
| String org.matsim.counts.Counts< T extends Identifiable< T >.getDescription | ( | ) |
Definition at line 57 of file Counts.java.
| void org.matsim.counts.Counts< T extends Identifiable< T >.setDescription | ( | String | description | ) |
Definition at line 61 of file Counts.java.
Referenced by org.matsim.counts.CountsReaderMatsimV1.startCounts(), and org.matsim.counts.CountsReaderMatsimV2.startMultiModeCounts().
| String org.matsim.counts.Counts< T extends Identifiable< T >.getSource | ( | ) |
Definition at line 65 of file Counts.java.
| void org.matsim.counts.Counts< T extends Identifiable< T >.setSource | ( | String | source | ) |
Definition at line 69 of file Counts.java.
Referenced by org.matsim.counts.CountsReaderMatsimV2.startMultiModeCounts().
| int org.matsim.counts.Counts< T extends Identifiable< T >.getYear | ( | ) |
Definition at line 73 of file Counts.java.
| void org.matsim.counts.Counts< T extends Identifiable< T >.setYear | ( | int | year | ) |
Definition at line 77 of file Counts.java.
Referenced by org.matsim.counts.CountsReaderMatsimV1.startCounts(), and org.matsim.counts.CountsReaderMatsimV2.startMultiModeCounts().
| Set<String> org.matsim.counts.Counts< T extends Identifiable< T >.getMeasurableTypes | ( | ) |
Returns all measured types of observations for all modes.
Definition at line 84 of file Counts.java.
| Map<Id<T>, MeasurementLocation<T> > org.matsim.counts.Counts< T extends Identifiable< T >.getMeasureLocations | ( | ) |
Definition at line 92 of file Counts.java.
| MeasurementLocation<T> org.matsim.counts.Counts< T extends Identifiable< T >.getMeasureLocation | ( | Id< T > | id | ) |
Definition at line 96 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.getCount().
| final Count<T> org.matsim.counts.Counts< T extends Identifiable< T >.createAndAddCount | ( | final Id< T > | linkId, |
| final String | stationName | ||
| ) |
Old API.
Old style API to create a measurement for car volumes at one station. Consider using createAndAddMeasureLocation(Id, String) instead.
| linkId | the link to which the counting station is assigned, must be unique |
| stationName | some additional identifier for humans, e.g. the original name/id of the counting station |
Definition at line 114 of file Counts.java.
Referenced by org.matsim.counts.CountsReaderMatsimV1.startCount().
| final TreeMap<Id<T>, Count<T> > org.matsim.counts.Counts< T extends Identifiable< T >.getCounts | ( | ) |
Retrieve map of all counts. This will be inefficient because all intermediate objects for the old API will be created.
Definition at line 125 of file Counts.java.
Referenced by org.matsim.counts.algorithms.CountsComparisonAlgorithm.compare().
| Count<T> org.matsim.counts.Counts< T extends Identifiable< T >.getCount | ( | final Id< T > | locId | ) |
Use getMeasureLocation(Id) instead.
Definition at line 139 of file Counts.java.
| Attributes org.matsim.counts.Counts< T extends Identifiable< T >.getAttributes | ( | ) |
Implements org.matsim.utils.objectattributes.attributable.Attributable.
Definition at line 146 of file Counts.java.
Referenced by org.matsim.counts.CountsReaderMatsimV2.endTag(), and org.matsim.counts.CountsReaderMatsimV2.startMultiModeCounts().
| String org.matsim.counts.Counts< T extends Identifiable< T >.toString | ( | ) |
Definition at line 151 of file Counts.java.
| MatsimFactory org.matsim.counts.Counts< T extends Identifiable< T >.getFactory | ( | ) |
Implements org.matsim.core.api.internal.MatsimToplevelContainer.
Definition at line 155 of file Counts.java.
|
static |
Definition at line 23 of file Counts.java.
Referenced by org.matsim.counts.CountsReaderMatsimV2.endTag(), and org.matsim.counts.CountsReaderMatsimV2.startTag().
|
private |
Definition at line 24 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.getMeasureLocations().
|
private |
Definition at line 25 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.getAttributes().
|
private |
Definition at line 26 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.getName(), and org.matsim.counts.Counts<?>.setName().
|
private |
Definition at line 27 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.getDescription(), and org.matsim.counts.Counts<?>.setDescription().
|
private |
Definition at line 28 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.getSource(), and org.matsim.counts.Counts<?>.setSource().
|
private |
Definition at line 29 of file Counts.java.
Referenced by org.matsim.counts.Counts<?>.getYear(), and org.matsim.counts.Counts<?>.setYear().
1.8.13