Changeset 6042 for trunk/sources/HeuristicLab.Analysis
- Timestamp:
- 04/23/11 00:29:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/QualityAnalysis/BestAverageWorstQualityAnalyzer.cs
r5445 r6042 68 68 get { return (ValueLookupParameter<PercentValue>)Parameters["RelativeDifferenceBestKnownToBest"]; } 69 69 } 70 public ValueLookupParameter< VariableCollection> ResultsParameter {71 get { return (ValueLookupParameter< VariableCollection>)Parameters["Results"]; }70 public ValueLookupParameter<ResultCollection> ResultsParameter { 71 get { return (ValueLookupParameter<ResultCollection>)Parameters["Results"]; } 72 72 } 73 73 #endregion … … 106 106 Parameters.Add(new ValueLookupParameter<DoubleValue>("AbsoluteDifferenceBestKnownToBest", "The absolute difference of the best known quality value to the best quality value.")); 107 107 Parameters.Add(new ValueLookupParameter<PercentValue>("RelativeDifferenceBestKnownToBest", "The relative difference of the best known quality value to the best quality value.")); 108 Parameters.Add(new ValueLookupParameter< VariableCollection>("Results", "The results collection where the analysis values should be stored."));108 Parameters.Add(new ValueLookupParameter<ResultCollection>("Results", "The results collection where the analysis values should be stored.")); 109 109 #endregion 110 110 … … 166 166 private void AfterDeserialization() { 167 167 Initialize(); 168 // BackwardsCompatibility3.3 169 #region Backwards compatible code, remove with 3.4 170 if (Parameters["Results"] is ValueLookupParameter<VariableCollection>) { 171 Parameters.Remove("Results"); 172 Parameters.Add(new ValueLookupParameter<ResultCollection>("Results", "The results collection where the analysis values should be stored.")); 173 } 174 #endregion 168 175 } 169 176 170 177 private void Initialize() { 171 178 QualityParameter.DepthChanged += new EventHandler(QualityParameter_DepthChanged);
Note: See TracChangeset
for help on using the changeset viewer.