- Timestamp:
- 06/26/12 15:36:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveEvaluator.cs
r8113 r8127 86 86 //calculate the quality by using the passed online calculator 87 87 targetValuesEnumerator = targetValues.GetEnumerator(); 88 var scaledBoundedEstimatedValuesEnumerator = (from r in Enumerable.Range(0, i) 89 select cache[r] * beta + alpha) 90 .LimitToRange(lowerEstimationLimit, upperEstimationLimit) 91 .GetEnumerator(); 88 var scaledBoundedEstimatedValuesEnumerator = Enumerable.Range(0, i).Select(x => cache[x] * beta + alpha) 89 .LimitToRange(lowerEstimationLimit, upperEstimationLimit).GetEnumerator(); 90 92 91 while (targetValuesEnumerator.MoveNext() & scaledBoundedEstimatedValuesEnumerator.MoveNext()) { 93 92 calculator.Add(targetValuesEnumerator.Current, scaledBoundedEstimatedValuesEnumerator.Current);
Note: See TracChangeset
for help on using the changeset viewer.