Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/09/14 11:15:59 (10 years ago)
Author:
mkommend
Message:

#2259: Changed ValueGenerator to work with decimals instead of doubles to achieve a higher accuracy and adapted all problem instance providers accordingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Various/SpatialCoevolution.cs

    r11171 r11434  
    5353      List<List<double>> data = new List<List<double>>();
    5454
    55       List<double> evenlySpacedSequence = ValueGenerator.GenerateSteps(-5, 5, 0.4).ToList();
     55      List<double> evenlySpacedSequence = ValueGenerator.GenerateSteps(-5, 5, 0.4m).Select(v => (double)v).ToList();
    5656      List<List<double>> trainingData = new List<List<double>>() { evenlySpacedSequence, evenlySpacedSequence };
    5757      var combinations = ValueGenerator.GenerateAllCombinationsOfValuesInLists(trainingData).ToList();
Note: See TracChangeset for help on using the changeset viewer.