Skip to content

Commit

Permalink
add goods traffic reroute
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Dec 19, 2023
1 parent 151c484 commit eec8234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ protected Config prepareConfig(Config config) {
} else if (mode == CalibrationMode.routeChoice) {

// Re-route for all populations
for (String subpopulation : List.of("person", "commercialPersonTraffic", "commercialPersonTraffic_service")) {
for (String subpopulation : List.of("person", "commercialPersonTraffic", "commercialPersonTraffic_service", "goodsTraffic")) {
config.replanning().addStrategySettings(new ReplanningConfigGroup.StrategySettings()
.setStrategyName(DefaultPlanStrategiesModule.DefaultStrategy.ReRoute)
.setWeight(weight)
Expand Down

0 comments on commit eec8234

Please sign in to comment.