Skip to content

Commit

Permalink
Update DrtCaseSetup.java
Browse files Browse the repository at this point in the history
  • Loading branch information
luchengqi7 committed Mar 27, 2024
1 parent 20f913a commit 8fb8b33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/matsim/run/prepare/DrtCaseSetup.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}
});
}
Expand Down

0 comments on commit 8fb8b33

Please sign in to comment.