Changeset 8086 for branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinLocalSearchManipulator.cs
- Timestamp:
- 06/22/12 11:11:38 (13 years ago)
- Location:
- branches/ScatterSearch (trunk integration)
- Files:
-
- 2 edited
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)
- Property svn:ignore
-
old new 20 20 bin 21 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.VehicleRouting (added) merged: 7895,7900,7904,7906,7923,7934,7999,8006,8053
- Property svn:mergeinfo changed
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinLocalSearchManipulator.cs
r8052 r8086 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System.Collections.Generic; 23 using HeuristicLab.Common; 22 24 using HeuristicLab.Core; 23 using HeuristicLab. Encodings.PermutationEncoding;25 using HeuristicLab.Data; 24 26 using HeuristicLab.Parameters; 25 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Data;27 using System.Collections.Generic;28 using HeuristicLab.Common;29 28 using HeuristicLab.Problems.VehicleRouting.Interfaces; 30 29 … … 40 39 private PotvinLocalSearchManipulator(bool deserializing) : base(deserializing) { } 41 40 42 public PotvinLocalSearchManipulator() : base() { 41 public PotvinLocalSearchManipulator() 42 : base() { 43 43 Parameters.Add(new ValueParameter<IntValue>("Iterations", "The number of max iterations.", new IntValue(100))); 44 44 } … … 81 81 } 82 82 individual.Tours[currentTour].Stops.RemoveRange(currentCity, length); 83 83 84 84 currentCity++; 85 85 } … … 116 116 individual.Tours[insertionTour].Stops.InsertRange( 117 117 insertionPlace, 118 toBeInserted); 118 toBeInserted); 119 119 } 120 120 city++; … … 125 125 } 126 126 iterations++; 127 } while (insertionFound && 127 } while (insertionFound && 128 128 iterations < Iterations.Value.Value); 129 129
Note: See TracChangeset
for help on using the changeset viewer.