Changeset 12840 for branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.MonteCarloTreeSearch/MonteCarloTreeSearch_PruneLeaves.cs
- Timestamp:
- 08/08/15 19:49:05 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.MonteCarloTreeSearch/MonteCarloTreeSearch_PruneLeaves.cs
r12832 r12840 35 35 currentNode.GetChildActionInfos()); 36 36 currentNode = currentNode.children[currentActionIndex]; 37 //selections++;38 //CheckSelection(currentNode, selections);37 selections++; 38 CheckSelection(currentNode, selections); 39 39 } 40 40 … … 56 56 currentNode.children[behaviourPolicy.SelectAction(random, currentNode.GetChildActionInfos()) 57 57 ]; 58 //selections++;59 //CheckSelection(currentNode, selections);58 selections++; 59 CheckSelection(currentNode, selections); 60 60 } 61 61 else … … 71 71 OnSolutionEvaluated(simulatedPhrase, quality); 72 72 73 OnIterationFinishedChanged(goodSelections, selections); 74 73 75 Propagate(currentNode, quality); 74 76 }
Note: See TracChangeset
for help on using the changeset viewer.