- Timestamp:
- 07/11/15 19:44:35 (9 years ago)
- Location:
- stable
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12292-12293
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis merged: 12292
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEight.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 data.Add( ValueGenerator.GenerateSteps(0m, 100, 1).Select(v => (double)v).ToList());51 data[0].AddRange( ValueGenerator.GenerateSteps(0m, 100, 0.1m).Select(v => (double)v));51 data.Add(SequenceGenerator.GenerateSteps(0m, 100, 1).Select(v => (double)v).ToList()); 52 data[0].AddRange(SequenceGenerator.GenerateSteps(0m, 100, 0.1m).Select(v => (double)v)); 52 53 53 54 double x; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEleven.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override List<List<double>> GenerateValues() { 50 51 List<List<double>> data = new List<List<double>>(); 51 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList();52 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList(); 52 53 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 53 54 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionFifteen.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList();51 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList(); 51 52 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 52 53 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionFour.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override List<List<double>> GenerateValues() { 50 51 List<List<double>> data = new List<List<double>>(); 51 data.Add( ValueGenerator.GenerateSteps(0, 10, 0.05m).Select(v => (double)v).ToList());52 data[0].AddRange( ValueGenerator.GenerateSteps(0.05m, 10.05m, 0.05m).Select(v => (double)v));52 data.Add(SequenceGenerator.GenerateSteps(0, 10, 0.05m).Select(v => (double)v).ToList()); 53 data[0].AddRange(SequenceGenerator.GenerateSteps(0.05m, 10.05m, 0.05m).Select(v => (double)v)); 53 54 54 55 double x; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionFourteen.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double) v).ToList();51 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double) v).ToList(); 51 52 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 52 53 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionNine.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 data.Add( ValueGenerator.GenerateSteps(0m, 100, 1).Select(v => (double)v).ToList());51 data[0].AddRange( ValueGenerator.GenerateSteps(0, 100, 0.1m).Select(v => (double)v));51 data.Add(SequenceGenerator.GenerateSteps(0m, 100, 1).Select(v => (double)v).ToList()); 52 data[0].AddRange(SequenceGenerator.GenerateSteps(0, 100, 0.1m).Select(v => (double)v)); 52 53 53 54 double x; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionOne.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 data.Add( ValueGenerator.GenerateSteps(-1, 1, 0.1m).Select(v => (double)v).ToList());51 data[0].AddRange( ValueGenerator.GenerateSteps(-1, 1, 0.001m).Select(v => (double)v));51 data.Add(SequenceGenerator.GenerateSteps(-1, 1, 0.1m).Select(v => (double)v).ToList()); 52 data[0].AddRange(SequenceGenerator.GenerateSteps(-1, 1, 0.001m).Select(v => (double)v)); 52 53 53 54 double x; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionSeven.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 protected override List<List<double>> GenerateValues() { 50 51 List<List<double>> data = new List<List<double>>(); 51 data.Add( ValueGenerator.GenerateSteps(1m, 100, 1).Select(v => (double)v).ToList());52 data[0].AddRange( ValueGenerator.GenerateSteps(1m, 100, 0.1m).Select(v => (double)v));52 data.Add(SequenceGenerator.GenerateSteps(1m, 100, 1).Select(v => (double)v).ToList()); 53 data[0].AddRange(SequenceGenerator.GenerateSteps(1m, 100, 0.1m).Select(v => (double)v)); 53 54 54 55 double x; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionSix.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 data.Add( ValueGenerator.GenerateSteps(1m, 50, 1).Select(v => (double)v).ToList());51 data[0].AddRange( ValueGenerator.GenerateSteps(1m, 120, 1).Select(v => (double)v));51 data.Add(SequenceGenerator.GenerateSteps(1m, 50, 1).Select(v => (double)v).ToList()); 52 data[0].AddRange(SequenceGenerator.GenerateSteps(1m, 120, 1).Select(v => (double)v)); 52 53 53 54 double x; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionTen.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 49 50 List<List<double>> data = new List<List<double>>(); 50 51 51 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(0, 1, 0.01m).Select(v => (double)v).ToList();52 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(0, 1, 0.01m).Select(v => (double)v).ToList(); 52 53 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 53 54 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionThirteen.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList();51 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList(); 51 52 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 52 53 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionThree.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 data.Add( ValueGenerator.GenerateSteps(-3, 3, 0.1m).Select(v => (double)v).ToList());51 data[0].AddRange( ValueGenerator.GenerateSteps(-3, 3, 0.001m).Select(v => (double)v));51 data.Add(SequenceGenerator.GenerateSteps(-3, 3, 0.1m).Select(v => (double)v).ToList()); 52 data[0].AddRange(SequenceGenerator.GenerateSteps(-3, 3, 0.001m).Select(v => (double)v)); 52 53 53 54 double x; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionTwelve.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList();51 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList(); 51 52 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 52 53 -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionTwo.cs
r12009 r12740 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 48 49 protected override List<List<double>> GenerateValues() { 49 50 List<List<double>> data = new List<List<double>>(); 50 data.Add( ValueGenerator.GenerateSteps(-2, 2, 0.1m).Select(v => (double)v).ToList());51 data[0].AddRange( ValueGenerator.GenerateSteps(-2, 2, 0.001m).Select(v => (double)v));51 data.Add(SequenceGenerator.GenerateSteps(-2, 2, 0.1m).Select(v => (double)v).ToList()); 52 data[0].AddRange(SequenceGenerator.GenerateSteps(-2, 2, 0.001m).Select(v => (double)v)); 52 53 53 54 double x;
Note: See TracChangeset
for help on using the changeset viewer.