faq 21200904 - matsim-org/matsim-code-examples GitHub Wiki
by Kai Nagel on 2014-11-15 20:42:30
I am looking at within-day replanning. I have an agent that is en-route, and knows both its currentLinkId and its destinationLinkId.
I also have a TripRouter. But tripRouter.calcRoute(...)
wants facilities as input, not links or link IDs.
What can I do?
Christoph uses a private class LinkWrapperFacility
; is the recommendation that everybody copies that?
by Kai Nagel on 2014-12-16 20:10:20
The LinkWrapperFacility
is now public(ly useable), in org.matsim.core.router
.