- Timestamp:
- 09/23/16 12:57:27 (8 years ago)
- Location:
- stable
- Files:
-
- 1 deleted
- 17 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14228-14229
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis merged: 14228-14229
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionEight.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 51 52 protected override int TestPartitionEnd { get { return 20000; } } 52 53 54 public int Seed { get; private set; } 55 56 public KornsFunctionEight() : this((int)System.DateTime.Now.Ticks) { 57 } 58 public KornsFunctionEight(int seed) : base() { 59 Seed = seed; 60 } 61 53 62 protected override List<List<double>> GenerateValues() { 54 63 List<List<double>> data = new List<List<double>>(); 55 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 56 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 57 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 58 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 59 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 64 var rand = new MersenneTwister((uint)Seed); 65 66 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 67 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 68 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 69 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 70 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 60 71 61 72 double x0, x3, x4; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionEleven.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override int TestPartitionStart { get { return 10000; } } 50 51 protected override int TestPartitionEnd { get { return 20000; } } 52 public int Seed { get; private set; } 51 53 54 public KornsFunctionEleven() : this((int)System.DateTime.Now.Ticks) { 55 } 56 public KornsFunctionEleven(int seed) : base() { 57 Seed = seed; 58 } 52 59 protected override List<List<double>> GenerateValues() { 53 60 List<List<double>> data = new List<List<double>>(); 61 var rand = new MersenneTwister((uint)Seed); 62 54 63 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 56 65 } 57 66 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionFive.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 50 51 protected override int TestPartitionStart { get { return 10000; } } 51 52 protected override int TestPartitionEnd { get { return 20000; } } 53 public int Seed { get; private set; } 52 54 55 public KornsFunctionFive() : this((int)System.DateTime.Now.Ticks) { 56 } 57 public KornsFunctionFive(int seed) : base() { 58 Seed = seed; 59 } 53 60 protected override List<List<double>> GenerateValues() { 54 61 List<List<double>> data = new List<List<double>>(); 55 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 56 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 57 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 58 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 59 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 62 var rand = new MersenneTwister((uint)Seed); 63 64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 65 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 66 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 67 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 68 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 60 69 61 70 double x4; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionFour.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 50 51 protected override int TestPartitionEnd { get { return 20000; } } 51 52 53 public int Seed { get; private set; } 52 54 55 public KornsFunctionFour() : this((int)System.DateTime.Now.Ticks) { 56 } 57 public KornsFunctionFour(int seed) : base() { 58 Seed = seed; 59 } 53 60 protected override List<List<double>> GenerateValues() { 54 61 List<List<double>> data = new List<List<double>>(); 62 var rand = new MersenneTwister((uint)Seed); 55 63 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 56 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 57 65 } 58 66 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionFourteen.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override int TestPartitionStart { get { return 10000; } } 50 51 protected override int TestPartitionEnd { get { return 20000; } } 52 public int Seed { get; private set; } 51 53 54 public KornsFunctionFourteen() : this((int)System.DateTime.Now.Ticks) { 55 } 56 public KornsFunctionFourteen(int seed) : base() { 57 Seed = seed; 58 } 52 59 protected override List<List<double>> GenerateValues() { 53 60 List<List<double>> data = new List<List<double>>(); 61 var rand = new MersenneTwister((uint)Seed); 54 62 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());63 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 56 64 } 57 65 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionNine.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 51 52 protected override int TestPartitionStart { get { return 10000; } } 52 53 protected override int TestPartitionEnd { get { return 20000; } } 54 public int Seed { get; private set; } 53 55 56 public KornsFunctionNine() : this((int)System.DateTime.Now.Ticks) { 57 } 58 public KornsFunctionNine(int seed) : base() { 59 Seed = seed; 60 } 54 61 protected override List<List<double>> GenerateValues() { 55 62 List<List<double>> data = new List<List<double>>(); 56 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 57 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 58 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 59 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 60 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 63 var rand = new MersenneTwister((uint)Seed); 64 65 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 66 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 67 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 68 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 69 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 61 70 62 71 double x0, x1, x2, x3; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionOne.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 50 51 protected override int TestPartitionStart { get { return 10000; } } 51 52 protected override int TestPartitionEnd { get { return 20000; } } 53 public int Seed { get; private set; } 52 54 55 public KornsFunctionOne() : this((int)System.DateTime.Now.Ticks) { 56 } 57 public KornsFunctionOne(int seed) : base() { 58 Seed = seed; 59 } 53 60 protected override List<List<double>> GenerateValues() { 54 61 List<List<double>> data = new List<List<double>>(); 62 var rand = new MersenneTwister((uint)Seed); 63 55 64 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 56 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());65 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 57 66 } 58 67 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionSeven.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 50 51 protected override int TestPartitionStart { get { return 10000; } } 51 52 protected override int TestPartitionEnd { get { return 20000; } } 53 public int Seed { get; private set; } 52 54 55 public KornsFunctionSeven() : this((int)System.DateTime.Now.Ticks) { 56 } 57 public KornsFunctionSeven(int seed) : base() { 58 Seed = seed; 59 } 53 60 protected override List<List<double>> GenerateValues() { 54 61 List<List<double>> data = new List<List<double>>(); 55 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 56 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 57 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 58 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 59 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 62 var rand = new MersenneTwister((uint)Seed); 63 64 for (int i = 0; i < 5; i++) 65 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 60 66 61 67 double x0; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionSix.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 50 51 protected override int TestPartitionStart { get { return 10000; } } 51 52 protected override int TestPartitionEnd { get { return 20000; } } 53 public int Seed { get; private set; } 52 54 55 public KornsFunctionSix() : this((int)System.DateTime.Now.Ticks) { 56 } 57 public KornsFunctionSix(int seed) : base() { 58 Seed = seed; 59 } 53 60 protected override List<List<double>> GenerateValues() { 54 61 List<List<double>> data = new List<List<double>>(); 55 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 56 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 57 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 58 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 59 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 62 var rand = new MersenneTwister((uint)Seed); 63 64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, 0, 50).ToList()); // note: range is only [0,50] to prevent NaN values (deviates from gp benchmark paper) 65 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 66 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 67 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 68 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 60 69 61 70 double x0; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionTen.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override int TestPartitionStart { get { return 10000; } } 50 51 protected override int TestPartitionEnd { get { return 20000; } } 52 public int Seed { get; private set; } 51 53 54 public KornsFunctionTen() : this((int)System.DateTime.Now.Ticks) { 55 } 56 public KornsFunctionTen(int seed) : base() { 57 Seed = seed; 58 } 52 59 protected override List<List<double>> GenerateValues() { 53 60 List<List<double>> data = new List<List<double>>(); 61 var rand = new MersenneTwister((uint)Seed); 62 54 63 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 56 65 } 57 66 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionThirteen.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override int TestPartitionStart { get { return 10000; } } 50 51 protected override int TestPartitionEnd { get { return 20000; } } 52 public int Seed { get; private set; } 51 53 54 public KornsFunctionThirteen() : this((int)System.DateTime.Now.Ticks) { 55 } 56 public KornsFunctionThirteen(int seed) : base() { 57 Seed = seed; 58 } 52 59 protected override List<List<double>> GenerateValues() { 53 60 List<List<double>> data = new List<List<double>>(); 61 var rand = new MersenneTwister((uint)Seed); 62 54 63 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 56 65 } 57 66 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionThree.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override int TestPartitionStart { get { return 10000; } } 50 51 protected override int TestPartitionEnd { get { return 20000; } } 52 public int Seed { get; private set; } 51 53 54 public KornsFunctionThree() : this((int)System.DateTime.Now.Ticks) { 55 } 56 public KornsFunctionThree(int seed) : base() { 57 Seed = seed; 58 } 52 59 protected override List<List<double>> GenerateValues() { 53 60 List<List<double>> data = new List<List<double>>(); 61 var rand = new MersenneTwister((uint)Seed); 54 62 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());63 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 56 64 } 57 65 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionTwelve.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override int TestPartitionStart { get { return 10000; } } 50 51 protected override int TestPartitionEnd { get { return 20000; } } 52 public int Seed { get; private set; } 51 53 54 public KornsFunctionTwelve() : this((int)System.DateTime.Now.Ticks) { 55 } 56 public KornsFunctionTwelve(int seed) : base() { 57 Seed = seed; 58 } 52 59 protected override List<List<double>> GenerateValues() { 53 60 List<List<double>> data = new List<List<double>>(); 61 var rand = new MersenneTwister((uint)Seed); 62 54 63 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 56 65 } 57 66 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionTwo.cs
r14186 r14305 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Random; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override int TestPartitionStart { get { return 10000; } } 50 51 protected override int TestPartitionEnd { get { return 20000; } } 52 public int Seed { get; private set; } 51 53 54 public KornsFunctionTwo() : this((int)System.DateTime.Now.Ticks) { 55 } 56 public KornsFunctionTwo(int seed) : base() { 57 Seed = seed; 58 } 52 59 protected override List<List<double>> GenerateValues() { 53 60 List<List<double>> data = new List<List<double>>(); 61 var rand = new MersenneTwister((uint)Seed); 62 54 63 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data.Add(ValueGenerator.GenerateUniformDistributedValues( TestPartitionEnd, -50, 50).ToList());64 data.Add(ValueGenerator.GenerateUniformDistributedValues(rand.Next(), TestPartitionEnd, -50, 50).ToList()); 56 65 } 57 66 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsInstanceProvider.cs
r14186 r14305 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Random; 24 25 25 26 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 37 38 get { return "McDermott et al., 2012 \"Genetic Programming Needs Better Benchmarks\", in Proc. of GECCO 2012."; } 38 39 } 40 public int Seed { get; private set; } 41 public KornsInstanceProvider() : this((int)System.DateTime.Now.Ticks) { } 42 public KornsInstanceProvider(int seed) : base() { 43 Seed = seed; 44 } 39 45 40 46 public override IEnumerable<IDataDescriptor> GetDataDescriptors() { 41 47 List<IDataDescriptor> descriptorList = new List<IDataDescriptor>(); 42 descriptorList.Add(new KornsFunctionOne()); 43 descriptorList.Add(new KornsFunctionTwo()); 44 descriptorList.Add(new KornsFunctionThree()); 45 descriptorList.Add(new KornsFunctionFour()); 46 descriptorList.Add(new KornsFunctionFive()); 47 descriptorList.Add(new KornsFunctionSix()); 48 descriptorList.Add(new KornsFunctionSeven()); 49 descriptorList.Add(new KornsFunctionEight()); 50 descriptorList.Add(new KornsFunctionNine()); 51 descriptorList.Add(new KornsFunctionTen()); 52 descriptorList.Add(new KornsFunctionEleven()); 53 descriptorList.Add(new KornsFunctionTwelve()); 54 descriptorList.Add(new KornsFunctionThirteen()); 55 descriptorList.Add(new KornsFunctionFourteen()); 56 descriptorList.Add(new KornsFunctionFiveteen()); 48 var rand = new MersenneTwister((uint)Seed); 49 descriptorList.Add(new KornsFunctionOne(rand.Next())); 50 descriptorList.Add(new KornsFunctionTwo(rand.Next())); 51 descriptorList.Add(new KornsFunctionThree(rand.Next())); 52 descriptorList.Add(new KornsFunctionFour(rand.Next())); 53 descriptorList.Add(new KornsFunctionFive(rand.Next())); 54 descriptorList.Add(new KornsFunctionSix(rand.Next())); 55 descriptorList.Add(new KornsFunctionSeven(rand.Next())); 56 descriptorList.Add(new KornsFunctionEight(rand.Next())); 57 descriptorList.Add(new KornsFunctionNine(rand.Next())); 58 descriptorList.Add(new KornsFunctionTen(rand.Next())); 59 descriptorList.Add(new KornsFunctionEleven(rand.Next())); 60 descriptorList.Add(new KornsFunctionTwelve(rand.Next())); 61 descriptorList.Add(new KornsFunctionThirteen(rand.Next())); 62 descriptorList.Add(new KornsFunctionFourteen(rand.Next())); 63 descriptorList.Add(new KornsFunctionFifteen(rand.Next())); 57 64 return descriptorList; 58 65 }
Note: See TracChangeset
for help on using the changeset viewer.