Changeset 11976 for branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.Bandits/Policies
- Timestamp:
- 02/11/15 02:22:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.Bandits/Policies/ThresholdAscentPolicy.cs
r11806 r11976 31 31 public double Value { 32 32 get { 33 if (Tries == 0.0) return 0.0;33 if (Tries == 0.0) return double.PositiveInfinity; 34 34 return rewardHistogram[thresholdBin] / (double)Tries; 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.