Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8127


Ignore:
Timestamp:
06/26/12 15:36:09 (12 years ago)
Author:
mkommend
Message:

#1788: Changed formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveEvaluator.cs

    r8113 r8127  
    8686      //calculate the quality by using the passed online calculator
    8787      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
    9291      while (targetValuesEnumerator.MoveNext() & scaledBoundedEstimatedValuesEnumerator.MoveNext()) {
    9392        calculator.Add(targetValuesEnumerator.Current, scaledBoundedEstimatedValuesEnumerator.Current);
Note: See TracChangeset for help on using the changeset viewer.