'package org.matsim.demandmodeling.counts:' Summary: Details: (The following informations are of temporary worth and will be adapted in the future. Code specific informations can be seen in javadoc) 2. The structure has to be slightly refactored as a future task. It should use MatsimXmlParser and MatsimXmlWriter instead of Parser and Writer as parent classes for CountsParser and CountsWriter. 3. The usage of schemas reduces the amount of needed error checking code in the package counts. To minimize the amount of changes to the existing code, the existing MATSIM folder 'dtd' is also used for the xsd-file. Additionally the entity resolver (Resolver.java) is also used for "resolving" the schema. Refactoring regarding this two issues is needed in the future while changing to schemas in general or using both in parallel to a certain extent. The header of an input file must be of the following form (information about actual data sets can be found at: Internal/Internal Information/Data Sets) <counts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4. Similar code blocks as for matrices are inserted with the following differences: (Config.java) public static final String COUNTS_LOCALINPUTXSD = "localInputXSD"; 5. A dummy config file (config_counts_test.xml) can be found in the playground of anhorni. 6. To use the counts package uncomment the respective lines (marked as 'needed if using the counts package') in the controler (Controler.java). Comments are used to keep older config files working. The file "[iteration_nr].linkcounts.cts" only contains the links for which counting data exists. 7. Automated graph creation is available using the LGPL library JFreeChart (+ the LGPL library jCommon), the MPL and LGPL library iText (for pdf output), overlib.js (for tooltips) (licence conditions to check) and stylesheets: The simple perl script (Public/Daten/Zaehldaten/scripts/validation.pl) can still be used to create gnuplot graphs. As input the file "[iteration_nr].linkcounts.cts" must be provided in the same directory. Contact: In case of questions or comments, please contact: horni(at)ivt.baug.ethz.ch
xsi:noNamespaceSchemaLocation="[SOME URL]/counts_v1.xsd"
name="[SOME NAME]" desc="[SOME DESC]" year="[SOME YEAR]" layer="[SOME LAYER]">
public static final String COUNTS_OUTXSD = "outputCountsXSD";