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.64k stars 605 forks source link

Update RuinClusters.java #507

Open jackzhenguo opened 4 years ago

jackzhenguo commented 4 years ago

delete a condition that unlikely occurs

kd509 commented 3 years ago

This condition occurs, when

dbscan.getRandomCluster(targetRoute);

always returns an empty list. In this case you will never leave the ruin method.