MATSIM
LeastCostPathCalculatorModule.java
Go to the documentation of this file.
1 /*
2  * *********************************************************************** *
3  * * project: org.matsim.*
4  * * LeastCostPathCalculatorModule.java
5  * * *
6  * * *********************************************************************** *
7  * * *
8  * * copyright : (C) 2015 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 
23 package org.matsim.core.router;
24 
25 import org.matsim.core.config.Config;
29 import org.matsim.core.router.util.*;
30 
32 
33  @Override
34  public void install() {
35  // yy The code below will install _one_ LeastCostPathCalculator, which will be Dijkstra or Landmarks or something. It will be the
36  // same Landmarks instance for all modes ... although one could do better by doing the preprocessing separately for the different modes.
37  // kai/mm, jan'17
38 
41  bind(LeastCostPathCalculatorFactory.class).to(DijkstraFactory.class);
46  }
47  }
48 
49 }
final ControllerConfigGroup controller()
Definition: Config.java:399