Changeset 12390
- Timestamp:
- 05/12/15 11:03:08 (10 years ago)
- Location:
- branches/HeuristicLab.Problems.GrammaticalOptimization-gkr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization-gkr/HeuristicLab.Distributions/GaussianModel.cs
r11976 r12390 87 87 // p(µ|D) = T2αn (µ| µn, βn/(αnκn)) 88 88 89 var t2alpha = alglib.invstudenttdistribution((int)(2 * posteriorAlpha), random.NextDouble());89 var t2alpha = alglib.invstudenttdistribution((int)(2 * posteriorAlpha), Math.Max(random.NextDouble(), 0.00001)); 90 90 91 91 var theta = t2alpha * posteriorBeta / (posteriorAlpha * posteriorK) + posteriorMean; -
branches/HeuristicLab.Problems.GrammaticalOptimization-gkr/Test/RunMctsExperiments.cs
r12386 r12390 155 155 var maxSizes = new int[] { 10, 20, 30, 40, 50 }; 156 156 int nReps = 30; 157 int maxIterations = 100000;157 int maxIterations = 30000; 158 158 foreach (var instanceFactory in instanceFactories) { 159 159 foreach (var policyFactory in policyFactories) { … … 182 182 var maxSizes = new int[] { 10, 20, 30, 40, 50 }; 183 183 int nReps = 30; 184 int maxIterations = 10000 0;184 int maxIterations = 10000; 185 185 foreach (var instanceFactory in instanceFactories) { 186 186 foreach (var policyFactory in policyFactories) { … … 209 209 var maxSizes = new int[] { 10, 20, 30, 40, 50 }; 210 210 int nReps = 30; 211 int maxIterations = 100000;211 int maxIterations = 30000; 212 212 foreach (var instanceFactory in instanceFactories) { 213 213 foreach (var policyFactory in policyFactories) { … … 236 236 var maxSizes = new int[] { 30, 100, 200 }; 237 237 int nReps = 30; 238 int maxIterations = 100000;238 int maxIterations = 30000; 239 239 foreach (var instanceFactory in instanceFactories) { 240 240 foreach (var policyFactory in policyFactories) { … … 260 260 var maxSizes = new int[] { 9, 12, 15, 21, 30 }; 261 261 int nReps = 30; 262 int maxIterations = 100000;262 int maxIterations = 30000; 263 263 foreach (var instanceFactory in instanceFactories) { 264 264 foreach (var policyFactory in policyFactories) {
Note: See TracChangeset
for help on using the changeset viewer.