Changeset 14228 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Nguyen/NguyenFunctionOne.cs
- Timestamp:
- 08/02/16 18:09:47 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Nguyen/NguyenFunctionOne.cs
r14185 r14228 45 45 protected override int TestPartitionStart { get { return 20; } } 46 46 protected override int TestPartitionEnd { get { return 520; } } 47 public int Seed { get; } 47 48 49 public NguyenFunctionOne() : this((int)System.DateTime.Now.Ticks) { } 50 public NguyenFunctionOne(int seed) : base() { 51 Seed = seed; 52 } 48 53 protected override List<List<double>> GenerateValues() { 49 54 List<List<double>> data = new List<List<double>>(); 50 data.Add(ValueGenerator.GenerateUniformDistributedValues( 520, -1, 1).ToList());55 data.Add(ValueGenerator.GenerateUniformDistributedValues(Seed, 520, -1, 1).ToList()); 51 56 52 57 double x;
Note: See TracChangeset
for help on using the changeset viewer.