graphhopper / jsprit

jsprit is a java based, open source toolkit for solving rich vehicle routing problems
https://www.graphhopper.com/open-source/
Apache License 2.0
1.63k stars 604 forks source link

fix a bug of getLargestTimeWindow() and add a function of failing to take different time windows of different vehicle types into account. #516

Open jackzhenguo opened 3 years ago

jackzhenguo commented 3 years ago

fix a bug of getLargestTimeWindow() About method of getLargestTimeWindow() , it always returns a maximize time window, and it should be a bug. I have fixed it by adding a null check of timewindow variable.

jackzhenguo commented 3 years ago

hope to hear from you soon

jackzhenguo commented 3 years ago

fail to take different time windows of different vehicle types into account.