- Timestamp:
- 07/19/17 12:40:18 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleWithOSTest.cs
r15247 r15271 67 67 // been able to identify the real cause. Presumably, execution on a Xeon and a Core i7 processor 68 68 // leads to different results. 69 Assert.AreEqual(0.90811178793448177, SamplesUtils.GetDoubleResult(osga, "BestQuality"), 1E-8, Environment.NewLine + "Best Qualit iy differs.");69 Assert.AreEqual(0.90811178793448177, SamplesUtils.GetDoubleResult(osga, "BestQuality"), 1E-8, Environment.NewLine + "Best Quality differs."); 70 70 Assert.AreEqual(0.87264498853305739, SamplesUtils.GetDoubleResult(osga, "CurrentAverageQuality"), 1E-8, Environment.NewLine + "Current Average Quality differs."); 71 71 Assert.AreEqual(0.75425658608938817, SamplesUtils.GetDoubleResult(osga, "CurrentWorstQuality"), 1E-8, Environment.NewLine + "Current Worst Quality differs."); … … 188 188 osga.Problem = problem; 189 189 osga.Name = "Offspring Selection Genetic Programming - Symbolic Regression"; 190 osga.Description = "Genetic programming with strict offs rping selectionsolving a benchmark regression problem.";190 osga.Description = "Genetic programming with strict offspring selection for solving a benchmark regression problem."; 191 191 SamplesUtils.ConfigureOsGeneticAlgorithmParameters<GenderSpecificSelector, SubtreeCrossover, MultiSymbolicExpressionTreeManipulator>(osga, 100, 1, 25, 0.2, 50); 192 192 var mutator = (MultiSymbolicExpressionTreeManipulator)osga.Mutator;
Note: See TracChangeset
for help on using the changeset viewer.