Changeset 15416 for branches/MCTS-SymbReg-2796/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/Policies/Ucb.cs
- Timestamp:
- 10/11/17 08:15:19 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/MCTS-SymbReg-2796/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/Policies/Ucb.cs
r15414 r15416 78 78 else totalTries += a.Tries; 79 79 } 80 // if there are unvisited actions select a random action80 // if there are unvisited actions select a random unvisited action 81 81 if (buf.Any()) { 82 82 return buf[rand.Next(buf.Count)]; 83 83 } 84 84 85 Debug.Assert(totalTries > 0); 85 86 double logTotalTries = Math.Log(totalTries);
Note: See TracChangeset
for help on using the changeset viewer.