Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/08/15 10:09:47 (10 years ago)
Author:
gkronber
Message:

#2283: worked on Q-Learning for poly10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GrammaticalOptimization-gkr/Main/Program.cs

    r12290 r12294  
    5353        // var alg = new SequentialSearch(problem, 25, random, 0,
    5454        //   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);
    5758        //var alg = new MonteCarloTreeSearch(problem, 23, random, new UCB1Policy(), new RandomSimulation(problem, random, 30));
    5859
     
    7071            if (iterations % 1000 == 0) Console.Clear();
    7172            Console.SetCursorPosition(0, 0);
    72             alg.PrintStats();
     73            // alg.PrintStats();
     74            policy.PrintStats();
    7375          }
    7476
Note: See TracChangeset for help on using the changeset viewer.