Commit dc687085 authored by Sebastian Hörl's avatar Sebastian Hörl
Browse files

fix config

parent 318ec86f
......@@ -25,7 +25,6 @@ public class RunASTRA2018002 {
// Load config
Config config = ConfigUtils.loadConfig(cmd.getOptionStrict("config-path"));
config.controler().setLastIteration(10);
config.strategy().clearStrategySettings();
......@@ -45,6 +44,8 @@ public class RunASTRA2018002 {
strategy.setWeight(0.8);
config.strategy().addStrategySettings(strategy);
cmd.applyConfiguration(config);
// Load scenario
Scenario scenario = ScenarioUtils.createScenario(config);
scenario.getPopulation().getFactory().getRouteFactories().setRouteFactory(DefaultEnrichedTransitRoute.class,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment