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

Disable shared AVs by default... this slipped in by accident

parent 6ba85ec2
......@@ -17,7 +17,6 @@ import ch.ethz.matsim.projects.astra_2018_002.mode_choice.SwissDiscreteModeChoic
import ch.ethz.matsim.projects.astra_2018_002.mode_choice.SwissModeChoiceConfigurator;
import ch.ethz.matsim.projects.astra_2018_002.mode_choice.SwissUtilityParameters.UtilitySet;
import ch.ethz.matsim.projects.astra_2018_002.private_av.PrivateAVConfigurator;
import ch.ethz.matsim.projects.astra_2018_002.shared_av.SharedAVConfigGroup;
import ch.ethz.matsim.projects.astra_2018_002.shared_av.SharedAVConfigurator;
import ch.sbb.matsim.routing.pt.raptor.SwissRailRaptorModule;
......@@ -30,15 +29,8 @@ public class RunASTRA2018002 {
.allowPrefixes(SwissDiscreteModeChoiceModule.COMMAND_LINE_PREFIX) //
.build();
SharedAVConfigGroup sharedConfig = new SharedAVConfigGroup();
sharedConfig.setUseSharedAVs(true);
sharedConfig.setTaxiFleetSize(1000);
sharedConfig.setActiveServiceArea("fribourg");
sharedConfig.setUseCostCalculator(true);
sharedConfig.setCostCalculatorScalingFactor(1000.0);
// Load config
Config config = ConfigUtils.loadConfig(cmd.getOptionStrict("config-path"), sharedConfig);
Config config = ConfigUtils.loadConfig(cmd.getOptionStrict("config-path"));
config.controler().setWriteEventsInterval(1);
// Adjust config (they need to stay in the correct order!)
......
Markdown is supported
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