Changeset 12005 for stable/HeuristicLab.Tests/HeuristicLab.Algorithms.ParameterlessPopulationPyramid-3.3/ParameterlessPopulationPyramidTest.cs
- Timestamp:
- 02/13/15 15:00:15 (10 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11939,11945,11956,11958-11961,11963,11967,11970-11971,11982-11984,11987-11988,11990,11993-11994,11996,11998-12004
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 11939,11956,11959,11961,11983,11987
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Algorithms.ParameterlessPopulationPyramid-3.3/ParameterlessPopulationPyramidTest.cs
r11939 r12005 22 22 using System; 23 23 using System.Threading; 24 using HeuristicLab.Algorithms.ParameterlessPopulationPyramid;25 24 using HeuristicLab.Common; 25 using HeuristicLab.Problems.Binary; 26 26 using Microsoft.VisualStudio.TestTools.UnitTesting; 27 27 … … 31 31 32 32 // Utility function that sets up and executes the run, then asserts the results 33 private PrivateObject DoRun(Binary VectorProblem problem, int maximumEvaluations, int seed, double bestQuality, int foundOn) {33 private PrivateObject DoRun(BinaryProblem problem, int maximumEvaluations, int seed, double bestQuality, int foundOn) { 34 34 var solver = new HeuristicLab.Algorithms.ParameterlessPopulationPyramid.ParameterlessPopulationPyramid(); 35 35 solver.Problem = problem; … … 40 40 try { 41 41 hidden.Invoke("Run", new CancellationToken()); 42 } 43 catch (OperationCanceledException) { 42 } catch (OperationCanceledException) { 44 43 // Ignore 45 44 } … … 94 93 problem.Length = 512; 95 94 DoRun(problem, 1000, 54321, 0.17361111111111, 440); 96 DoRun(problem, 130000, 54321, 1, 126082);95 DoRun(problem, 130000, 54321, 1, 89214); 97 96 } 98 97 }
Note: See TracChangeset
for help on using the changeset viewer.