Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.Algorithms.PushGP/Generators/IntegerGenerator.cs @ 14392

Last change on this file since 14392 was 14392, checked in by pkimmesw, 8 years ago

#2665 Full Push 3.0 instruction set and tests; Added first benchmark test (count odds) for random walk tests;

File size: 386 bytes
Line 
1using HeuristicLab.Core;
2using HeuristicLab.Random;
3
4namespace HeuristicLab.Algorithms.PushGP.Generators
5{
6    public static class IntegerGenerator
7    {
8        private static IRandom rand = new FastRandom();
9
10        public static long RandomInteger(int min = int.MinValue, int max = int.MaxValue)
11        {
12            return rand.Next(min, max);
13        }
14    }
15}
Note: See TracBrowser for help on using the repository browser.