- Timestamp:
- 08/14/09 19:56:04 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators/VariableEvaluationImpactCalculator.cs
r2285 r2290 32 32 AddVariableInfo(new VariableInfo("TreeEvaluator", "The evaluator that should be used to evaluate the expression tree", typeof(ITreeEvaluator), VariableKind.In)); 33 33 AddVariableInfo(new VariableInfo("FunctionTree", "The function tree that should be evaluated", typeof(IGeneticProgrammingModel), VariableKind.In)); 34 AddVariableInfo(new VariableInfo("TreeSize", "Size (number of nodes) of the tree to evaluate", typeof(IntData), VariableKind.In));35 34 } 36 35 … … 39 38 ITreeEvaluator evaluator = GetVariableValue<ITreeEvaluator>("TreeEvaluator", scope, true); 40 39 IGeneticProgrammingModel gpModel = GetVariableValue<IGeneticProgrammingModel>("FunctionTree", scope, true); 41 double punishmentFactor = GetVariableValue<DoubleData>("PunishmentFactor", scope, true).Data;42 40 evaluator.PrepareForEvaluation(dataset, targetVariable, start, end, gpModel.FunctionTree); 43 41 -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators/VariableQualityImpactCalculator.cs
r2285 r2290 38 38 ITreeEvaluator evaluator = GetVariableValue<ITreeEvaluator>("TreeEvaluator", scope, true); 39 39 IGeneticProgrammingModel gpModel = GetVariableValue<IGeneticProgrammingModel>("FunctionTree", scope, true); 40 double punishmentFactor = GetVariableValue<DoubleData>("PunishmentFactor", scope, true).Data;41 40 evaluator.PrepareForEvaluation(dataset, targetVariable, start, end, gpModel.FunctionTree); 42 41
Note: See TracChangeset
for help on using the changeset viewer.