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 d6f9de4 commit 151c484
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ protected Config prepareConfig(Config config) {
} else if (mode == CalibrationMode.cadyts) {

// 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 151c484

Please sign in to comment.