Changeset 5906 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/MultiObjective/SymbolicClassificationMultiObjectivePearsonRSquaredTreeSizeEvaluator.cs
- Timestamp:
- 03/31/11 11:22:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/MultiObjective/SymbolicClassificationMultiObjectivePearsonRSquaredTreeSizeEvaluator.cs
r5894 r5906 1 using System; 2 using System.Linq; 3 using System.Collections.Generic; 1 using System.Collections.Generic; 4 2 using HeuristicLab.Common; 5 3 using HeuristicLab.Core; … … 30 28 double[] qualities = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows); 31 29 QualitiesParameter.ActualValue = new DoubleArray(qualities); 32 AddEvaluatedNodes(solution.Length * rows.Count());33 30 return base.Apply(); 34 31 } … … 47 44 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context; 48 45 EstimationLimitsParameter.ExecutionContext = context; 49 EvaluatedNodesParameter.ExecutionContext = context;50 46 51 47 double[] quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows); 52 AddEvaluatedNodes(tree.Length * rows.Count()); 53 48 54 49 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null; 55 50 EstimationLimitsParameter.ExecutionContext = null; 56 EvaluatedNodesParameter.ExecutionContext = null;57 51 58 52 return quality;
Note: See TracChangeset
for help on using the changeset viewer.