Changeset 3080 for trunk/sources/HeuristicLab.Analysis
- Timestamp:
- 03/17/10 13:24:11 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Analysis/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/BestQualityMemorizer.cs
r3048 r3080 55 55 DoubleValue best = BestQualityParameter.ActualValue; 56 56 double max = (best != null) ? (best.Value) : ((maximization) ? (double.MinValue) : (double.MaxValue)); 57 57 58 58 foreach (DoubleValue quality in qualities) 59 59 if (IsBetter(maximization, quality.Value, max)) max = quality.Value; -
trunk/sources/HeuristicLab.Analysis/3.3/DataTableValuesCollector.cs
r3048 r3080 53 53 foreach (IParameter param in CollectedValues) { 54 54 DoubleValue data = param.ActualValue as DoubleValue; 55 if (data == null) throw new InvalidOperationException("Only double data values can be collected by a DataTableValuesCollector.");55 if (data == null) data = new DoubleValue(double.NaN); 56 56 57 57 DataRow row;
Note: See TracChangeset
for help on using the changeset viewer.