Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/08/15 19:49:05 (9 years ago)
Author:
aballeit
Message:

#2283 Final

File:
1 edited

Legend:

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

    r12832 r12840  
    3535                        currentNode.GetChildActionInfos());
    3636                    currentNode = currentNode.children[currentActionIndex];
    37                     //selections++;
    38                     //CheckSelection(currentNode, selections);
     37                    selections++;
     38                    CheckSelection(currentNode, selections);
    3939                }
    4040
     
    5656                            currentNode.children[behaviourPolicy.SelectAction(random, currentNode.GetChildActionInfos())
    5757                                ];
    58                         //selections++;
    59                         //CheckSelection(currentNode, selections);
     58                        selections++;
     59                        CheckSelection(currentNode, selections);
    6060                    }
    6161                    else
     
    7171                    OnSolutionEvaluated(simulatedPhrase, quality);
    7272
     73                    OnIterationFinishedChanged(goodSelections, selections);
     74
    7375                    Propagate(currentNode, quality);
    7476                }
Note: See TracChangeset for help on using the changeset viewer.