Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 20:26:45 (14 years ago)
Author:
swagner
Message:

Finished cloning refactoring of HeuristicLab.Problems.TestFunctions (#922)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SumSquaresEvaluator.cs

    r4068 r4688  
    2020#endregion
    2121
     22using HeuristicLab.Common;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Data;
     
    6364    }
    6465
     66    [StorableConstructor]
     67    protected SumSquaresEvaluator(bool deserializing) : base(deserializing) { }
     68    protected SumSquaresEvaluator(SumSquaresEvaluator original, Cloner cloner) : base(original, cloner) { }
     69    public SumSquaresEvaluator() : base() { }
     70
     71    public override IDeepCloneable Clone(Cloner cloner) {
     72      return new SumSquaresEvaluator(this, cloner);
     73    }
     74
    6575    public override RealVector GetBestKnownSolution(int dimension) {
    6676      return new RealVector(dimension);
Note: See TracChangeset for help on using the changeset viewer.