1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

change interface insertion ends listener

This commit is contained in:
oblonski 2019-07-10 14:46:41 +02:00
parent e4b5bbf5fa
commit a3e3d45b81
No known key found for this signature in database
GPG key ID: 179DE487285680D1
6 changed files with 12 additions and 10 deletions

View file

@ -376,7 +376,7 @@ public class AlgorithmEventsRecorder implements RuinListener, IterationStartsLis
}
@Override
public void informInsertionEnds(Collection<VehicleRoute> vehicleRoutes) {
public void informInsertionEnds(Collection<VehicleRoute> vehicleRoutes, Collection<Job> badJobs) {
if (!record()) return;
fileSink.stepBegins(graph.getId(), 0, CLEAR_SOLUTION);
removeRoutes(vehicleRoutes);