Changeset 8053 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveMaker.cs
- Timestamp:
- 06/19/12 13:17:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveMaker.cs
r7906 r8053 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.Data;24 using HeuristicLab.Operators;25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Common;29 using HeuristicLab.Problems.VehicleRouting.ProblemInstances;30 28 using HeuristicLab.Problems.VehicleRouting.Interfaces; 31 using HeuristicLab.Problems.VehicleRouting.Variants;32 using System.Collections.Generic;33 29 34 30 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { … … 41 37 42 38 public override ILookupParameter VRPMoveParameter { 43 39 get { return TwoOptStarMoveParameter; } 44 40 } 45 41 … … 62 58 public static void GetSegments(PotvinTwoOptStarMove move, out List<int> segmentX1, out List<int> segmentX2) { 63 59 PotvinEncoding solution = move.Individual as PotvinEncoding; 64 60 65 61 Tour route1 = solution.Tours[move.Tour1]; 66 62 Tour route2 = solution.Tours[move.Tour2]; … … 98 94 route2.Stops.AddRange(segmentX1); 99 95 } 100 96 101 97 protected override void PerformMove() { 102 98 PotvinTwoOptStarMove move = TwoOptStarMoveParameter.ActualValue;
Note: See TracChangeset
for help on using the changeset viewer.