Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/06/10 01:56:04 (13 years ago)
Author:
swagner
Message:

Merged cloning refactoring branch back into trunk (#922)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources

  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SingleObjectiveTestFunctionProblemEvaluator.cs

    r4068 r4722  
    2020#endregion
    2121
     22using HeuristicLab.Common;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Data;
     
    6768      get { return (ILookupParameter<RealVector>)Parameters["Point"]; }
    6869    }
     70
     71    [StorableConstructor]
     72    protected SingleObjectiveTestFunctionProblemEvaluator(bool deserializing) : base(deserializing) { }
     73    protected SingleObjectiveTestFunctionProblemEvaluator(SingleObjectiveTestFunctionProblemEvaluator original, Cloner cloner) : base(original, cloner) { }
    6974    /// <summary>
    7075    /// Initializes a new instance of <see cref="SingleObjectiveTestFunctionEvaluator"/> with two parameters
    7176    /// (<c>Quality</c> and <c>Point</c>).
    7277    /// </summary>
    73     public SingleObjectiveTestFunctionProblemEvaluator() {
     78    public SingleObjectiveTestFunctionProblemEvaluator()
     79      : base() {
    7480      Parameters.Add(new LookupParameter<DoubleValue>("Quality", "Result of the evaluation of a solution."));
    7581      Parameters.Add(new LookupParameter<RealVector>("Point", "The point at which the function should be evaluated."));
Note: See TracChangeset for help on using the changeset viewer.