mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
parent
c0f713c7ad
commit
779be01a1f
1 changed files with 4 additions and 1 deletions
|
|
@ -318,8 +318,11 @@ public class VehicleRoutingProblem {
|
|||
if (act instanceof TourActivity.JobActivity) {
|
||||
Job job = ((TourActivity.JobActivity) act).getJob();
|
||||
jobsInInitialRoutes.add(job.getId());
|
||||
addLocationToTentativeLocations(job);
|
||||
registerJobAndActivity(abstractAct, job);
|
||||
|
||||
if (act instanceof BreakActivity)
|
||||
continue;
|
||||
addLocationToTentativeLocations(job);
|
||||
}
|
||||
}
|
||||
initialRoutes.add(route);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue