MATSIM
IterationTravelStatsModule.java
Go to the documentation of this file.
1 
2 /* *********************************************************************** *
3  * project: org.matsim.*
4  * TravelDistanceStatsModule.java
5  * *
6  * *********************************************************************** *
7  * *
8  * copyright : (C) 2019 by the members listed in the COPYING, *
9  * LICENSE and WARRANTY file. *
10  * email : info at matsim dot org *
11  * *
12  * *********************************************************************** *
13  * *
14  * This program is free software; you can redistribute it and/or modify *
15  * it under the terms of the GNU General Public License as published by *
16  * the Free Software Foundation; either version 2 of the License, or *
17  * (at your option) any later version. *
18  * See also COPYING, LICENSE and WARRANTY file *
19  * *
20  * *********************************************************************** */
21 
22  package org.matsim.analysis;
23 
24 
26 
28 
29  @Override
30  public void install() {
31  bind(TravelDistanceStats.class).asEagerSingleton();
32  bind(PKMbyModeCalculator.class).asEagerSingleton();
33  bind(PHbyModeCalculator.class).asEagerSingleton();
36  bind(TripsAndLegsWriter.CustomTimeWriter.class).to(TripsAndLegsWriter.DefaultTimeWriter.class).asEagerSingleton();
37  bind(ActivityWriter.class);
38  bind(PersonWriter.class);
39  bind(TripsAndLegsWriter.class);
40  addControlerListenerBinding().to(IterationTravelStatsControlerListener.class);
41  }
42 }
final LinkedBindingBuilder< ControlerListener > addControlerListenerBinding()