Changeset 323
- Timestamp:
- 06/18/08 14:45:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Functions/BakedFunctionTree.cs
r322 r323 220 220 } 221 221 222 bool resetted= false;222 bool evaluatorReset = false; 223 223 public double Evaluate(Dataset dataset, int sampleIndex) { 224 224 FlattenVariables(); 225 225 FlattenTrees(); 226 if(! resetted) {226 if(!evaluatorReset) { 227 227 BakedTreeEvaluator.ResetEvaluator(linearRepresentation); 228 resetted= true;228 evaluatorReset = true; 229 229 } 230 230 return BakedTreeEvaluator.Evaluate(dataset, sampleIndex);
Note: See TracChangeset
for help on using the changeset viewer.