Skip to content

Commit

Permalink
use run with defaults correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Mar 18, 2024
1 parent eaafdc2 commit 6b5deaa
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/main/java/org/matsim/run/policies/RunSpeedReduction.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ private RunSpeedReduction() {
}

public static void main(String[] args) {
String[] argsForPolicy = new String[]{
"--slow-speed-area", "/net/ils/matsim-leipzig/input/shp/leipzig_stadt/Leipzig_stadt.shp",
"--slow-speed-relative-change", "0.6",
"--config", "/net/ils/matsim-leipzig/input/v1.3/leipzig-v1.3.1-10pct.config.xml",
"--parking-cost-area", "/net/ils/matsim-leipzig/input/v1.3/parkingCostArea/Bewohnerparken_2020.shp"
};
MATSimApplication.runWithDefaults(LeipzigScenario.class, argsForPolicy);
MATSimApplication.runWithDefaults(LeipzigScenario.class, args,
"--slow-speed-area", "/net/ils/matsim-leipzig/input/shp/leipzig_stadt/Leipzig_stadt.shp",
"--slow-speed-relative-change", "0.6",
"--config", "/net/ils/matsim-leipzig/input/v1.3/leipzig-v1.3.1-10pct.config.xml",
"--parking-cost-area", "/net/ils/matsim-leipzig/input/v1.3/parkingCostArea/Bewohnerparken_2020.shp");
}
}

0 comments on commit 6b5deaa

Please sign in to comment.