Changeset 12025 for branches/HeuristicLab.Problems.GrammaticalOptimization/Test/TestSymbRegInstances.cs
- Timestamp:
- 02/17/15 16:04:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/Test/TestSymbRegInstances.cs
r12014 r12025 32 32 33 33 [TestMethod] 34 [Timeout(1000 * 60 * 60 * 8)] // 8 hours 34 35 public void TestSequentialSolverForTower() { 35 36 var problem = new SymbolicRegressionProblem(new Random(), "Tower"); 36 37 var random = new Random(31415); 37 var solver = new SequentialSearch(problem, 30, random, 0, new GenericGrammarPolicy(problem, new UCB1TunedPolicy(), true));38 var solver = new SequentialSearch(problem, 50, random, 0, new GenericFunctionApproximationGrammarPolicy(problem, true)); 38 39 solver.FoundNewBestSolution += (s, d) => { 39 40 Console.WriteLine("{0:F3} {1}", d, s); 40 41 }; 41 solver.Run(100 );42 solver.Run(100000); 42 43 } 43 44
Note: See TracChangeset
for help on using the changeset viewer.