From 414e5a301134661819c5e5d40d8e7d48e5b68cc8 Mon Sep 17 00:00:00 2001 From: sime94 Date: Mon, 2 Sep 2024 18:35:41 +0200 Subject: [PATCH] no drt in smc (for now) --- .../java/org/matsim/run/RunLausitzDrtScenario.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/main/java/org/matsim/run/RunLausitzDrtScenario.java b/src/main/java/org/matsim/run/RunLausitzDrtScenario.java index 2a846bf..0df586c 100644 --- a/src/main/java/org/matsim/run/RunLausitzDrtScenario.java +++ b/src/main/java/org/matsim/run/RunLausitzDrtScenario.java @@ -28,7 +28,6 @@ import org.matsim.core.config.ConfigUtils; import org.matsim.core.config.groups.QSimConfigGroup; import org.matsim.core.config.groups.ScoringConfigGroup; -import org.matsim.core.config.groups.SubtourModeChoiceConfigGroup; import org.matsim.core.controler.AbstractModule; import org.matsim.core.controler.Controler; import org.matsim.core.network.algorithms.MultimodalNetworkCleaner; @@ -125,19 +124,6 @@ protected Config prepareConfig(Config config) { .setMarginalUtilityOfTraveling(-0.)); } - SubtourModeChoiceConfigGroup smc = ConfigUtils.addOrGetModule(config, SubtourModeChoiceConfigGroup.class); - -// TODO remove this after testing and comment back in the if clause below - smc.setModes(new String[]{TransportMode.drt}); - config.replanning().setFractionOfIterationsToDisableInnovation(1.); - -// if (!String.join(",", smc.getModes()).contains(TransportMode.drt)) { -// String[] modes = Arrays.copyOf(smc.getModes(), smc.getModes().length + 1); -// modes[modes.length - 1] = TransportMode.drt; -// -// smc.setModes(modes); -// } - // creates a drt staging activity and adds it to the scoring params DrtConfigs.adjustMultiModeDrtConfig(multiModeDrtConfigGroup, config.scoring(), config.routing());