Free cookie consent management tool by TermsFeed Policy Generator

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

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

#2665 Added Unit Test Project, CodeGenerator and refactored project structure

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