Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning/Solution.cs @ 9198

Last change on this file since 9198 was 8753, checked in by gkronber, 12 years ago

#1967 initial import of Gaussian process evolution plugin

File size: 944 bytes
Line 
1using HeuristicLab.Common;
2using HeuristicLab.Core;
3using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
4using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
5using HeuristicLab.Problems.DataAnalysis;
6
7namespace HeuristicLab.Problems.GaussianProcessTuning {
8  [StorableClass]
9  public sealed class Solution : RegressionSolution {
10    [StorableConstructor]
11    private Solution(bool deserializing) : base(deserializing) { }
12    private Solution(Solution original, Cloner cloner)
13      : base(original, cloner) {
14    }
15
16    public Solution(GaussianProcessRegressionModel model, IRegressionProblemData problemData)
17      : base(model, problemData) {
18      RecalculateResults();
19    }
20    [StorableHook(HookType.AfterDeserialization)]
21    private void AfterDeserialization() {
22    }
23    public override IDeepCloneable Clone(Cloner cloner) {
24      return new Solution(this, cloner);
25    }
26  }
27}
Note: See TracBrowser for help on using the repository browser.