Changeset 1891 for trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators/GPEvaluatorBase.cs
- Timestamp:
- 05/25/09 17:46:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators/GPEvaluatorBase.cs
r1796 r1891 57 57 bool useEstimatedValues = GetVariableValue<BoolData>("UseEstimatedTargetValue", scope, true).Data; 58 58 ITreeEvaluator evaluator = GetVariableValue<ITreeEvaluator>("TreeEvaluator", scope, true); 59 evaluator.PrepareForEvaluation(functionTree); 59 60 60 61 double[] backupValues = null; … … 68 69 } 69 70 70 Evaluate(scope, evaluator, functionTree,dataset, targetVariable, start, end, useEstimatedValues);71 Evaluate(scope, evaluator, dataset, targetVariable, start, end, useEstimatedValues); 71 72 72 73 // restore the values of the target variable from the backup array if necessary … … 82 83 } 83 84 84 public abstract void Evaluate(IScope scope, ITreeEvaluator evaluator, IFunctionTree tree,Dataset dataset, int targetVariable, int start, int end, bool updateTargetValues);85 public abstract void Evaluate(IScope scope, ITreeEvaluator evaluator, Dataset dataset, int targetVariable, int start, int end, bool updateTargetValues); 85 86 } 86 87 }
Note: See TracChangeset
for help on using the changeset viewer.