-
Notifications
You must be signed in to change notification settings - Fork 179
faq 109877626
Billy Charlton edited this page Sep 5, 2018
·
2 revisions
by oussama smiai on 2017-06-09 17:42:24
I would like to write my own router fro an electric vehicle. I followed the tutorial to write a custom routing algorithm at tutorial.programming.example21tutorialTUBclass.leastCostPath and I couldn't find a way to pass the vehicle as an argument to the following function
public Path calcLeastCostPath(final Node fromNode, final Node toNode, final double startTime, final Person person2, final Vehicle vehicle2)
The vehicle2 variable was always having the value null during debug.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq