Last change
on this file since 15694 was
15289,
checked in by pkimmesw, 7 years ago
|
#2665 Fixed analyzer, fixed Plush encoding + operators, adpated print evaluation according to McPhee
|
File size:
325 bytes
|
Line | |
---|
1 | namespace HeuristicLab.Problems.ProgramSynthesis.Base.Extensions {
|
---|
2 | using System;
|
---|
3 |
|
---|
4 | using HeuristicLab.Random;
|
---|
5 |
|
---|
6 | public static class NormalDistributedRandomExtensions {
|
---|
7 | public static int NextRounded(this NormalDistributedRandom random) {
|
---|
8 | return (int)Math.Round(random.NextDouble(), 0);
|
---|
9 | }
|
---|
10 | }
|
---|
11 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.