- Timestamp:
- 04/23/10 14:28:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/DataAnalysisSolution.cs
r3462 r3513 50 50 } 51 51 } 52 [Storable] 53 private double lowerEstimationLimit; 54 public double LowerEstimationLimit { 55 get { return lowerEstimationLimit; } 56 set { 57 if (lowerEstimationLimit != value) { 58 lowerEstimationLimit = value; 59 OnEstimatedValuesChanged(EventArgs.Empty); 60 } 61 } 62 } 63 64 [Storable] 65 private double upperEstimationLimit; 66 public double UpperEstimationLimit { 67 get { return upperEstimationLimit; } 68 set { 69 if (upperEstimationLimit != value) { 70 upperEstimationLimit = value; 71 OnEstimatedValuesChanged(EventArgs.Empty); 72 } 73 } 74 } 52 75 53 76 public abstract IEnumerable<double> EstimatedValues { get; } … … 56 79 57 80 protected DataAnalysisSolution() : base() { } 58 protected DataAnalysisSolution(DataAnalysisProblemData problemData) 81 protected DataAnalysisSolution(DataAnalysisProblemData problemData) : this(problemData, double.NegativeInfinity, double.PositiveInfinity) { } 82 protected DataAnalysisSolution(DataAnalysisProblemData problemData, double lowerEstimationLimit, double upperEstimationLimit) 59 83 : this() { 60 84 this.problemData = problemData; 85 this.lowerEstimationLimit = lowerEstimationLimit; 86 this.upperEstimationLimit = upperEstimationLimit; 61 87 Initialize(); 62 88 } … … 74 100 // don't clone the problem data! 75 101 clone.problemData = problemData; 102 clone.lowerEstimationLimit = lowerEstimationLimit; 103 clone.upperEstimationLimit = upperEstimationLimit; 76 104 clone.Initialize(); 77 105 return clone;
Note: See TracChangeset
for help on using the changeset viewer.