Skip to content

faq 87916548

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Obtain a Provider instance that uses custom TravelTime WITHOUT calling Controler.run()

by gunnarfloetteroed on 2016-09-30 09:59:25


I have an events file from a previous MATSim run. By parsing this, I obtain a TravelTime instance. Now I would like to obtain an instance of Provider<TripRouter> that routes based on this TravelTime instance, nothing else. In particular, I do not wish to perform a new MATSim run.




Comments: 2


Re: Obtain a Provider instance that uses custom TravelTime WITHOUT calling Controler.run()

by gunnarfloetteroed on 2016-10-02 09:12:29

TripRouterImplTest.java appears to contain a solution.


Re: Obtain a Provider instance that uses custom TravelTime WITHOUT calling Controler.run()

by Michael Zilske on 2016-10-04 12:21:31

Also e.g. InitRoutes.java

Clone this wiki locally