Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/02/15 13:13:25 (9 years ago)
Author:
aballeit
Message:

#2283 added TreeInfos to MCTS excel export

Location:
branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.MonteCarloTreeSearch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.MonteCarloTreeSearch/MonteCarloTreeSearch.cs

    r12815 r12827  
    9797                        currentNode.GetChildActionInfos());
    9898                    currentNode = currentNode.children[currentActionIndex];
    99                     selections++;
    100                     CheckSelection(currentNode, selections);
     99                    //selections++;
     100                    //CheckSelection(currentNode, selections);
    101101                }
    102102
     
    109109                        currentNode.children[behaviourPolicy.SelectAction(random, currentNode.GetChildActionInfos())
    110110                            ];
    111                     selections++;
    112                     CheckSelection(currentNode, selections);
     111                    //selections++;
     112                    //CheckSelection(currentNode, selections);
    113113                }
    114114                if (currentNode.phrase.Length <= maxLen)
  • branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.MonteCarloTreeSearch/MonteCarloTreeSearch_PruneLeaves.cs

    r12815 r12827  
    3838                        currentNode.GetChildActionInfos());
    3939                    currentNode = currentNode.children[currentActionIndex];
    40                     selections++;
    41                     CheckSelection(currentNode, selections);
     40                    //selections++;
     41                    //CheckSelection(currentNode, selections);
    4242                }
    4343
     
    5959                            currentNode.children[behaviourPolicy.SelectAction(random, currentNode.GetChildActionInfos())
    6060                                ];
    61                         selections++;
    62                         CheckSelection(currentNode, selections);
     61                        //selections++;
     62                        //CheckSelection(currentNode, selections);
    6363                    }
    6464                    else
Note: See TracChangeset for help on using the changeset viewer.