Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/07/11 11:15:19 (14 years ago)
Author:
svonolfe
Message:

Fixed problem in the PFIH (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/PushForwardInsertionCreator.cs

    r5201 r5230  
    172172      routeIndex++;
    173173
    174       do {
     174      while (unroutedList.Count > 0) {
    175175        for (c = 0; c < unroutedList.Count; c++) {
    176176          for (int i = currentRoute + 1; i < route.Count; i++) {
     
    207207        indexOfCustomer = -1;
    208208        customer = -1;
    209       } while (unroutedList.Count > 0);
     209      }
    210210      while (route.Count < problemInstance.Cities.Value + problemInstance.Vehicles.Value)
    211211        route.Add(0);
Note: See TracChangeset for help on using the changeset viewer.