Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/11 15:03:46 (14 years ago)
Author:
gkronber
Message:

Merged changes from trunk to data analysis exploration branch and added fractional distance metric evaluator. #1142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.Regression/3.3/Symbolic/SingleObjectiveSymbolicVectorRegressionProblem.cs

    r4087 r5275  
    7575    #endregion
    7676
     77    [StorableConstructor]
     78    private SingleObjectiveSymbolicVectorRegressionProblem(bool deserializing) : base() { }
     79    private SingleObjectiveSymbolicVectorRegressionProblem(SingleObjectiveSymbolicVectorRegressionProblem original, Cloner cloner)
     80      : base(original, cloner) {
     81        Initialize();
     82    }
    7783    public SingleObjectiveSymbolicVectorRegressionProblem()
    7884      : base() {
     
    8793    }
    8894
    89     [StorableConstructor]
    90     private SingleObjectiveSymbolicVectorRegressionProblem(bool deserializing) : base() { }
    9195
    9296    [StorableHook(HookType.AfterDeserialization)]
    93     private void AfterDeserializationHook() {
     97    private void AfterDeserialization() {
    9498      Initialize();
    9599    }
    96100
    97101    public override IDeepCloneable Clone(Cloner cloner) {
    98       SingleObjectiveSymbolicVectorRegressionProblem clone = (SingleObjectiveSymbolicVectorRegressionProblem)base.Clone(cloner);
    99       clone.Initialize();
    100       return clone;
     102      return new SingleObjectiveSymbolicVectorRegressionProblem(this, cloner);
    101103    }
    102 
    103104    private void RegisterParameterValueEvents() {
    104105      EvaluatorParameter.ValueChanged += new EventHandler(EvaluatorParameter_ValueChanged);
Note: See TracChangeset for help on using the changeset viewer.