Changeset 17518
- Timestamp:
- 04/27/20 14:02:29 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblem.cs
r17515 r17518 27 27 [StorableType("93696570-A410-4885-A210-7220771B6050")] 28 28 [Item("Classification Problem", "A general classification problem.")] 29 public class ClassificationProblem : DataAnalysisProblem<IClassificationProblemData>, IClassificationProblem, IStorableContent { 30 public string Filename { get; set; } 31 29 public sealed class ClassificationProblem : DataAnalysisProblem<IClassificationProblemData>, IClassificationProblem, IStorableContent { 32 30 [StorableConstructor] 33 pr otectedClassificationProblem(StorableConstructorFlag _) : base(_) { }34 pr otectedClassificationProblem(ClassificationProblem original, Cloner cloner) : base(original, cloner) { }31 private ClassificationProblem(StorableConstructorFlag _) : base(_) { } 32 private ClassificationProblem(ClassificationProblem original, Cloner cloner) : base(original, cloner) { } 35 33 public override IDeepCloneable Clone(Cloner cloner) { return new ClassificationProblem(this, cloner); } 36 34 37 35 public ClassificationProblem() : base(new ClassificationProblemData()) { } 36 public ClassificationProblem(IClassificationProblemData problemData) : base(problemData) { } 37 38 38 } 39 39 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Clustering/ClusteringProblem.cs
r17226 r17518 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 using HEAL.Attic;25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis { 27 27 [StorableType("CB64B930-3C95-4663-B583-712B42E33712")] 28 28 [Item("Clustering Problem", "A general clustering problem.")] 29 public class ClusteringProblem : DataAnalysisProblem<IClusteringProblemData>, IClusteringProblem {29 public sealed class ClusteringProblem : DataAnalysisProblem<IClusteringProblemData>, IClusteringProblem { 30 30 [StorableConstructor] 31 pr otectedClusteringProblem(StorableConstructorFlag _) : base(_) { }32 pr otectedClusteringProblem(ClusteringProblem original, Cloner cloner) : base(original, cloner) { }31 private ClusteringProblem(StorableConstructorFlag _) : base(_) { } 32 private ClusteringProblem(ClusteringProblem original, Cloner cloner) : base(original, cloner) { } 33 33 public override IDeepCloneable Clone(Cloner cloner) { return new ClusteringProblem(this, cloner); } 34 34 35 35 public ClusteringProblem() : base(new ClusteringProblemData()) { } 36 public ClusteringProblem(IClusteringProblemData problemData) : base(problemData) { } 36 37 } 37 38 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblem.cs
r17226 r17518 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 using HEAL.Attic;25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis { 27 27 [StorableType("BD8AFF60-E8BE-4325-B1AC-08B7BDF37865")] 28 28 [Item("Regression Problem", "A general regression problem.")] 29 public class RegressionProblem : DataAnalysisProblem<IRegressionProblemData>, IRegressionProblem, IStorableContent { 30 public string Filename { get; set; } 31 29 public sealed class RegressionProblem : DataAnalysisProblem<IRegressionProblemData>, IRegressionProblem, IStorableContent { 32 30 [StorableConstructor] 33 pr otectedRegressionProblem(StorableConstructorFlag _) : base(_) { }34 pr otectedRegressionProblem(RegressionProblem original, Cloner cloner) : base(original, cloner) { }31 private RegressionProblem(StorableConstructorFlag _) : base(_) { } 32 private RegressionProblem(RegressionProblem original, Cloner cloner) : base(original, cloner) { } 35 33 public override IDeepCloneable Clone(Cloner cloner) { return new RegressionProblem(this, cloner); } 36 34 37 35 public RegressionProblem() : base(new RegressionProblemData()) { } 38 36 public RegressionProblem(IRegressionProblemData problemData) : base(problemData) { } 39 37 } 40 38 }
Note: See TracChangeset
for help on using the changeset viewer.