Skip to content

Commit

Permalink
added potential plug-in points for DRT Estimator as comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrehmann committed Oct 9, 2024
1 parent c5eea70 commit 5d02569
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/org/matsim/run/RunKelheimScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,21 @@ protected void prepareControler(Controler controler) {
Config config = controler.getConfig();
Network network = controler.getScenario().getNetwork();

//
// controler.addOverridingModule(new AbstractModule() {
// @Override
// public void install() {
// DrtEstimatorModule.bindEstimator(binder(), drtConfigGroup.mode).toInstance(
// new DirectTripBasedDrtEstimator.Builder()
// .setWaitingTimeEstimator(new ConstantWaitingTimeEstimator(300))
// .setWaitingTimeDistributionGenerator(new NormalDistributionGenerator(1, 0.4))
// .setRideDurationEstimator(new ConstantRideDurationEstimator(1.25, 300))
// .setRideDurationDistributionGenerator(new NormalDistributionGenerator(2, 0.3))
// .build()
// );
// }
// });

controler.addOverridingModule(new AbstractModule() {
@Override
public void install() {
Expand Down

0 comments on commit 5d02569

Please sign in to comment.