- Timestamp:
- 04/08/15 10:09:47 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization-gkr/Main/Program.cs
r12290 r12294 53 53 // var alg = new SequentialSearch(problem, 25, random, 0, 54 54 // new HeuristicLab.Algorithms.Bandits.GrammarPolicies.GenericGrammarPolicy(problem, new UCB1TunedPolicy())); 55 var alg = new SequentialSearch(problem, 25, random, 0, 56 new GenericPolicy(problem, new HeuristicLab.Algorithms.Bandits.BanditPolicies.EpsGreedyPolicy(0.1))); 55 var policy = new GenericPolicy(problem); 56 var alg = new SequentialSearch(problem, 23, random, 1, 57 policy); 57 58 //var alg = new MonteCarloTreeSearch(problem, 23, random, new UCB1Policy(), new RandomSimulation(problem, random, 30)); 58 59 … … 70 71 if (iterations % 1000 == 0) Console.Clear(); 71 72 Console.SetCursorPosition(0, 0); 72 alg.PrintStats(); 73 // alg.PrintStats(); 74 policy.PrintStats(); 73 75 } 74 76
Note: See TracChangeset
for help on using the changeset viewer.