- Timestamp:
- 08/16/10 11:25:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis/3.3/Operators/DynamicDepthLimitComparator.cs
r4223 r4228 91 91 double cLower = CLowerParameter.Value.Value; 92 92 double bestQuality = BestQualityParameter.ActualValue.Value; 93 double relativeQuality = maximization ? (leftQuality - bestQuality) / leftQuality : (bestQuality - leftQuality) / leftQuality;93 double relativeQuality = maximization ? leftQuality / bestQuality - 1 : bestQuality / leftQuality - 1; 94 94 if (tree.Height <= ddl) { 95 95 // height is smaller than ddl => check improvement and reduce ddl
Note: See TracChangeset
for help on using the changeset viewer.