From 8fb8b3375c0f36f1b400e4d298b0fe888b82c425 Mon Sep 17 00:00:00 2001 From: Chengqi Lu <43133404+luchengqi7@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:57:38 +0100 Subject: [PATCH] Update DrtCaseSetup.java --- src/main/java/org/matsim/run/prepare/DrtCaseSetup.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/matsim/run/prepare/DrtCaseSetup.java b/src/main/java/org/matsim/run/prepare/DrtCaseSetup.java index 9771a58..1cadee6 100644 --- a/src/main/java/org/matsim/run/prepare/DrtCaseSetup.java +++ b/src/main/java/org/matsim/run/prepare/DrtCaseSetup.java @@ -239,9 +239,10 @@ public void install() { public void install() { // bindModal(DrtEstimator.class).toInstance(DetourBasedDrtEstimator.normalDistributed(1.2, 32, // 0.3, 120, 0.4)); + // The parameters used below are based on the analysis from the real world data bindModal(DrtEstimator.class).toProvider(modalProvider(getter -> new - EuclideanDistanceBasedDrtEstimator(getter.getModal(Network.class), 2.0, 0.1577493, - 103.0972273, 120, 0.4, -0.1, 0.28))); + EuclideanDistanceBasedDrtEstimator(getter.getModal(Network.class), 2.0, 0.1577493 * 0.9, + 103.0972273 * 0.9, 120, 0.4, -0.1, 0.28))); } }); }