Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/12 13:17:29 (12 years ago)
Author:
ascheibe
Message:

#1722 fixed more licensing information and source formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinLocalSearchManipulator.cs

    r7855 r8053  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2020#endregion
    2121
     22using System.Collections.Generic;
     23using HeuristicLab.Common;
    2224using HeuristicLab.Core;
    23 using HeuristicLab.Encodings.PermutationEncoding;
     25using HeuristicLab.Data;
    2426using HeuristicLab.Parameters;
    2527using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    26 using HeuristicLab.Data;
    27 using System.Collections.Generic;
    28 using HeuristicLab.Common;
    2928using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3029
     
    4039    private PotvinLocalSearchManipulator(bool deserializing) : base(deserializing) { }
    4140
    42     public PotvinLocalSearchManipulator() : base() {
     41    public PotvinLocalSearchManipulator()
     42      : base() {
    4343      Parameters.Add(new ValueParameter<IntValue>("Iterations", "The number of max iterations.", new IntValue(100)));
    4444    }
     
    8181          }
    8282          individual.Tours[currentTour].Stops.RemoveRange(currentCity, length);
    83          
     83
    8484          currentCity++;
    8585        }
     
    116116                  individual.Tours[insertionTour].Stops.InsertRange(
    117117                    insertionPlace,
    118                     toBeInserted); 
     118                    toBeInserted);
    119119                }
    120120                city++;
     
    125125          }
    126126          iterations++;
    127         } while (insertionFound && 
     127        } while (insertionFound &&
    128128          iterations < Iterations.Value.Value);
    129129
Note: See TracChangeset for help on using the changeset viewer.