Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10430


Ignore:
Timestamp:
01/30/14 08:53:39 (10 years ago)
Author:
gkronber
Message:

#2026 changed constants in MCTS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GPDL/CodeGenerator/MonteCarloTreeSearchCodeGen.cs

    r10427 r10430  
    4646    }
    4747
    48     private  const int RANDOM_TRIES = 1;
     48    private  const int RANDOM_TRIES = 100;
    4949
    5050    private void SampleTree(SearchTreeNode searchTree, Stack<Tuple<Tree, int, int, int>> extensionPoints) {
     
    155155      Debug.Assert(parent.tries >= n.tries);
    156156      Debug.Assert(n.tries > 0);
    157       return n.sumQuality / n.tries + Math.Sqrt((40 * Math.Log(parent.tries)) / n.tries ); // constant is dependent fitness function values
     157      return n.sumQuality / n.tries + Math.Sqrt((400 * Math.Log(parent.tries)) / n.tries ); // constant is dependent fitness function values
    158158    }
    159159
Note: See TracChangeset for help on using the changeset viewer.