Changeset 8086 for branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Manipulators/AlbaLambdaInterchangeManipulator.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/Alba/Manipulators/AlbaLambdaInterchangeManipulator.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 HeuristicLab.Core;23 using HeuristicLab.Encodings.PermutationEncoding;24 using HeuristicLab.Parameters;25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HeuristicLab.Data;27 22 using System; 28 23 using System.Collections.Generic; 29 24 using HeuristicLab.Common; 25 using HeuristicLab.Core; 26 using HeuristicLab.Data; 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 29 31 30 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba { … … 36 35 get { return (IValueParameter<IntValue>)Parameters["Lambda"]; } 37 36 } 38 37 39 38 [StorableConstructor] 40 39 private AlbaLambdaInterchangeManipulator(bool deserializing) : base(deserializing) { } … … 42 41 public AlbaLambdaInterchangeManipulator() 43 42 : base() { 44 45 43 Parameters.Add(new ValueParameter<IntValue>("Lambda", "The lambda value.", new IntValue(1))); 44 } 46 45 47 46 public override IDeepCloneable Clone(Cloner cloner) { … … 53 52 } 54 53 55 public static void Apply(AlbaEncoding individual, int tour1Index, int position1, int length1, 54 public static void Apply(AlbaEncoding individual, int tour1Index, int position1, int length1, 56 55 int tour2Index, int position2, int length2) { 57 56 List<Tour> tours = individual.GetTours();
Note: See TracChangeset
for help on using the changeset viewer.