Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push.Base/Extensions/NormalDistributedRandomExtensions.cs @ 15866

Last change on this file since 15866 was 15771, checked in by bburlacu, 7 years ago

#2895: Add solution skeleton for PushGP with genealogy analysis.

File size: 308 bytes
Line 
1namespace HeuristicLab.Problems.ProgramSynthesis {
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.