Last change
on this file since 8754 was
8753,
checked in by gkronber, 12 years ago
|
#1967 initial import of Gaussian process evolution plugin
|
File size:
944 bytes
|
Line | |
---|
1 | using HeuristicLab.Common;
|
---|
2 | using HeuristicLab.Core;
|
---|
3 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
4 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
5 | using HeuristicLab.Problems.DataAnalysis;
|
---|
6 |
|
---|
7 | namespace 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.