Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/09/10 09:55:31 (14 years ago)
Author:
svonolfe
Message:

Merged relevant changes from the trunk into the branch (cloning,...) (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/BestAverageWorstTours/Capacitated/BestCapacitatedVRPToursMemorizer.cs

    r4374 r4752  
    2626using HeuristicLab.Parameters;
    2727using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Common;
    2829
    2930namespace HeuristicLab.Problems.VehicleRouting {
     
    4647    }
    4748
     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
    4860    public override IOperation Apply() {
    4961      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.