Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.Algorithms.PushGP/Generators/Configuration.cs @ 14328

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

#2665 Set .NET version to 4.5, C# version to 5.0, Added expression templates and factory

File size: 1.6 KB
Line 
1namespace HeuristicLab.Algorithms.PushGP.Generators
2{
3    public class Configuration
4    {
5        public Configuration()
6        {
7            this.MinRandomInteger = long.MinValue;
8            this.MaxRandomInteger = long.MaxValue;
9            this.MinRandomFloat = double.MaxValue;
10            this.MaxRandomFloat = double.MaxValue;
11            this.NewErcNameProbability = 0.5;
12        }
13
14        /// <summary>
15        /// The minimum INTEGER that will be produced as an ephemeral random INTEGER constant or from a call to INTEGER.RAND.
16        /// </summary>
17        public long MinRandomInteger { get; set; }
18
19        /// <summary>
20        /// The maximum INTEGER that will be produced as an ephemeral random INTEGER constant or from a call to INTEGER.RAND.
21        /// </summary>
22        public long MaxRandomInteger { get; set; }
23
24        /// <summary>
25        /// The minimum FLOAT that will be produced as an ephemeral random FLOAT constant or from a call to FLOAT.RAND.
26        /// </summary>
27        public double MinRandomFloat { get; set; }
28
29        /// <summary>
30        /// The maximum FLOAT that will be produced as an ephemeral random FLOAT constant or from a call to FLOAT.RAND.
31        /// </summary>
32        public double MaxRandomFloat { get; set; }
33
34        /// <summary>
35        /// The probability that the selection of the ephemeral
36        /// random NAME constant for inclusion in randomly generated code will produce a new name
37        /// (rather than a name that was previously generated).
38        /// </summary>
39        public double NewErcNameProbability { get; set; }
40    }
41}
Note: See TracBrowser for help on using the repository browser.