Changeset 4752 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/BestAverageWorstTours/Capacitated/BestCapacitatedVRPToursMemorizer.cs
- Timestamp:
- 11/09/10 09:55:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/BestAverageWorstTours/Capacitated/BestCapacitatedVRPToursMemorizer.cs
r4374 r4752 26 26 using HeuristicLab.Parameters; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Common; 28 29 29 30 namespace HeuristicLab.Problems.VehicleRouting { … … 46 47 } 47 48 49 public override IDeepCloneable Clone(Cloner cloner) { 50 return new BestCapacitatedVRPToursMemorizer(this, cloner); 51 } 52 53 protected BestCapacitatedVRPToursMemorizer(BestCapacitatedVRPToursMemorizer original, Cloner cloner) 54 : base(original, cloner) { 55 } 56 57 [StorableConstructor] 58 protected BestCapacitatedVRPToursMemorizer(bool deserializing) : base(deserializing) { } 59 48 60 public override IOperation Apply() { 49 61 int i = OverloadParameter.ActualValue.Select((x, index) => new { index, x.Value }).OrderBy(x => x.Value).First().index;
Note: See TracChangeset
for help on using the changeset viewer.