Changeset 16680


Ignore:
Timestamp:
03/13/19 09:38:15 (2 months ago)
Author:
gkronber
Message:

#2974: necessary changes for compatibility with new persistence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2974_Constants_Optimization/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/ConstantsOptimizationEvaluator.cs

    r16514 r16680  
    2626using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Attic;
    2929
    3030namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression {
    3131  [Item("New Constant Optimization Evaluator", "Calculates Pearson R² of a symbolic regression solution and optimizes the constant used.")]
    32   [StorableClass]
     32  [StorableType("B4255C8A-9FFA-42A4-988C-B81911302A04")]
    3333  public class ConstantsOptimizationEvaluator : SymbolicRegressionSingleObjectiveEvaluator {
    3434    private const string ConstantOptimizationIterationsParameterName = "ConstantOptimizationIterations";
     
    5454
    5555    [StorableConstructor]
    56     protected ConstantsOptimizationEvaluator(bool deserializing) : base(deserializing) { }
     56    protected ConstantsOptimizationEvaluator(StorableConstructorFlag _) : base(_) { }
    5757    protected ConstantsOptimizationEvaluator(ConstantsOptimizationEvaluator original, Cloner cloner)
    5858      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.