Changeset 15280 for branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
- Timestamp:
- 07/23/17 00:52:14 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression (added) merged: 13395,13397,13582,13660,13670,13869,13900,13916,13921,13941
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4 (added) merged: 13395,13397,13582,13660,13670,13869,13900,13916,13921,13941
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
r12509 r15280 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using HeuristicLab.Common; … … 33 34 [Item(Name = "Symbolic Regression Model", Description = "Represents a symbolic regression model.")] 34 35 public class SymbolicRegressionModel : SymbolicDataAnalysisModel, ISymbolicRegressionModel { 35 36 [Storable] 37 private readonly string targetVariable; 38 public string TargetVariable { 39 get { return targetVariable; } 40 } 36 41 37 42 [StorableConstructor] 38 43 protected SymbolicRegressionModel(bool deserializing) : base(deserializing) { } 39 protected SymbolicRegressionModel(SymbolicRegressionModel original, Cloner cloner) : base(original, cloner) { }40 44 41 public SymbolicRegressionModel(ISymbolicExpressionTree tree, ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, 45 protected SymbolicRegressionModel(SymbolicRegressionModel original, Cloner cloner) 46 : base(original, cloner) { 47 this.targetVariable = original.targetVariable; 48 } 49 50 public SymbolicRegressionModel(string targetVariable, ISymbolicExpressionTree tree, 51 ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, 42 52 double lowerEstimationLimit = double.MinValue, double upperEstimationLimit = double.MaxValue) 43 : base(tree, interpreter, lowerEstimationLimit, upperEstimationLimit) { } 53 : base(tree, interpreter, lowerEstimationLimit, upperEstimationLimit) { 54 this.targetVariable = targetVariable; 55 } 44 56 45 57 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.