Changeset 5624 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolution.cs
- Timestamp:
- 03/07/11 18:11:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolution.cs
r5607 r5624 32 32 using System; 33 33 34 namespace HeuristicLab.Problems.DataAnalysis.Symbolic {34 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 35 35 /// <summary> 36 36 /// Represents a symbolic regression solution (model + data) and attributes of the solution like accuracy and complexity … … 38 38 [StorableClass] 39 39 [Item(Name = "SymbolicRegressionSolution", Description = "Represents a symbolic regression solution (model + data) and attributes of the solution like accuracy and complexity.")] 40 public class SymbolicRegressionSolution : SymbolicDataAnalysisSolution, IRegressionSolution { 41 #region properties 42 public new IRegressionModel Model { 43 get { throw new NotImplementedException(); } 40 public class SymbolicRegressionSolution : RegressionSolution, ISymbolicRegressionSolution { 41 #region ISymbolicRegressionSolution Members 42 43 public new ISymbolicRegressionModel Model { 44 get { return (ISymbolicRegressionModel)base.Model; } 44 45 } 45 46 public new IRegressionProblemData ProblemData { 47 get { throw new NotImplementedException(); } 48 } 49 50 public IEnumerable<double> EstimatedValues { 51 get { throw new NotImplementedException(); } 52 } 53 54 public IEnumerable<double> EstimatedTrainingValues { 55 get { throw new NotImplementedException(); } 56 } 57 58 public IEnumerable<double> EstimatedTestValues { 59 get { throw new NotImplementedException(); } 60 } 61 62 public IEnumerable<double> GetEstimatedValues(IEnumerable<int> rows) { 63 throw new NotImplementedException(); 46 ISymbolicDataAnalysisModel ISymbolicDataAnalysisSolution.Model { 47 get { return (ISymbolicDataAnalysisModel)base.Model; } 64 48 } 65 49 … … 71 55 : base(original, cloner) { 72 56 } 73 public SymbolicRegressionSolution( )74 : base( ) {57 public SymbolicRegressionSolution(ISymbolicRegressionModel model, IRegressionProblemData problemData) 58 : base(model, problemData) { 75 59 } 76 60 … … 78 62 return new SymbolicRegressionSolution(this, cloner); 79 63 } 80 81 protected override void OnModelChanged(EventArgs e) {82 base.OnModelChanged(e);83 }84 85 protected override void OnProblemDataChanged(EventArgs e) {86 base.OnProblemDataChanged(e);87 }88 64 } 89 65 }
Note: See TracChangeset
for help on using the changeset viewer.