Menu

Commit [r30168]  Maximize  Restore  History

Switching CadytsBuilder to SingleLinkMeasurement.TYPE.COUNT_VEH.

This is what it should have been all along, but the tests came with results that did not make sense. Now they make sense. Not fully sure why this is: We changed the getSimValue implementation some days ago (by really summing up multi-hour measurements), but it is still not clear why this should have changed the test since it contains entries only in one hour. (Possibly, the entry is in the _second_ hour of a pair, and was thus ignored by the previous version of the test -- this is all pretty confusing since hours start counting at 1 while arrays start counting at 0.)

vsp_nagel 2014-09-07

changed /contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/car/CadytsContext.java
changed /contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/general/CadytsBuilder.java
changed /contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/pt/CadytsPtContext.java
changed /contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/pt/CadytsPtOccupancyAnalyzer.java
changed /contrib/trunk/cadytsIntegration/src/test/java/org/matsim/contrib/cadyts/pt/CadytsIntegrationTest.java
changed /contrib/trunk/cadytsIntegration/src/test/java/org/matsim/contrib/cadyts/pt/CountsReader.java
/contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/car/CadytsContext.java Diff Switch to side-by-side view
Loading...
/contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/general/CadytsBuilder.java Diff Switch to side-by-side view
Loading...
/contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/pt/CadytsPtContext.java Diff Switch to side-by-side view
Loading...
/contrib/trunk/cadytsIntegration/src/main/java/org/matsim/contrib/cadyts/pt/CadytsPtOccupancyAnalyzer.java Diff Switch to side-by-side view
Loading...
/contrib/trunk/cadytsIntegration/src/test/java/org/matsim/contrib/cadyts/pt/CadytsIntegrationTest.java Diff Switch to side-by-side view
Loading...
/contrib/trunk/cadytsIntegration/src/test/java/org/matsim/contrib/cadyts/pt/CountsReader.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB