- Timestamp:
- 08/17/15 19:13:19 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization-gkr/Main/Program.cs
r12298 r12876 57 57 // var alg = new SequentialSearch(problem, 25, random, 0, 58 58 // new HeuristicLab.Algorithms.Bandits.GrammarPolicies.GenericGrammarPolicy(problem, new UCB1TunedPolicy())); 59 var policy = new GenericPolicy(problem); 59 //var policy = new GenericPolicy(problem); 60 //var policy = new GenericGrammarPolicy(problem, new ExtremeHunterPolicy()); 61 //var policy = new GenericGrammarPolicy(problem, new UCB1Policy()); 62 //var policy = new GenericGrammarPolicy(problem, new ActiveLearningPolicy(0.1)); 63 var policy = new GenericGrammarPolicy(problem, new ExtremeHunterPolicy(1.0E-2, 1E-2, 1)); 60 64 var alg = new SequentialSearch(problem, 23, random, 0, 61 65 policy); … … 78 82 Console.SetCursorPosition(0, 0); 79 83 Console.WriteLine(iterations); 80 WriteAlleleStatistics();84 //WriteAlleleStatistics(); 81 85 Console.WriteLine(globalStatistics.BestSentenceQuality); 82 86 Console.WriteLine(globalStatistics.BestSentence); 83 87 Console.WriteLine(globalStatistics); 84 //alg.PrintStats();85 policy.PrintStats();88 alg.PrintStats(); 89 //policy.PrintStats(); 86 90 //ResetAlleleStatistics(); 87 91 }
Note: See TracChangeset
for help on using the changeset viewer.