Skip to content

Commit

Permalink
correct distance cost conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
simei94 committed Sep 2, 2024
1 parent bbd3e35 commit 8b0663f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!--<version>14.0-PR1452</version>-->

<!-- snapshot == not recommended: rather use PR-labelled release!-->
<version>2025.0-PR3429</version>
<version>2025.0-PR3434</version>
</parent>


Expand Down
8 changes: 2 additions & 6 deletions src/main/java/org/matsim/run/LausitzScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,9 @@ protected Config prepareConfig(Config config) {
vvo20.setTransactionPartner("VVO Tarifzone 20");
vvo20.setDescription("VVO Tarifzone 20");
vvo20.setOrder(1);
try {
vvo20.setFareZoneShp(Paths.get(config.getContext().toURI()).getParent().toString() + "/vvo_tarifzone20/vvo_tarifzone20_hoyerswerda_utm32n.shp");
} catch (URISyntaxException e) {
throw new RuntimeException(e);
}
vvo20.setFareZoneShp("./vvo_tarifzone20/vvo_tarifzone20_hoyerswerda_utm32n.shp");

DistanceBasedPtFareParams germany = DistanceBasedPtFareParams.GERMAN_WIDE_FARE;
DistanceBasedPtFareParams germany = DistanceBasedPtFareParams.GERMAN_WIDE_FARE_2024;
germany.setTransactionPartner("Deutschlandtarif");
germany.setDescription("Deutschlandtarif");
germany.setOrder(2);
Expand Down

0 comments on commit 8b0663f

Please sign in to comment.