Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/08/16 12:04:25 (8 years ago)
Author:
pkimmesw
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.Algorithms.PushGP/Generators/Configuration.cs

    r14323 r14328  
    33    public class Configuration
    44    {
     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
    514        /// <summary>
    615        /// The minimum INTEGER that will be produced as an ephemeral random INTEGER constant or from a call to INTEGER.RAND.
    716        /// </summary>
    8         public long MinRandomInteger { get; set; } = long.MinValue;
     17        public long MinRandomInteger { get; set; }
    918
    1019        /// <summary>
    1120        /// The maximum INTEGER that will be produced as an ephemeral random INTEGER constant or from a call to INTEGER.RAND.
    1221        /// </summary>
    13         public long MaxRandomInteger { get; set; } = long.MaxValue;
     22        public long MaxRandomInteger { get; set; }
    1423
    1524        /// <summary>
    1625        /// The minimum FLOAT that will be produced as an ephemeral random FLOAT constant or from a call to FLOAT.RAND.
    1726        /// </summary>
    18         public double MinRandomFloag { get; set; } = double.MinValue;
     27        public double MinRandomFloat { get; set; }
    1928
    2029        /// <summary>
    2130        /// The maximum FLOAT that will be produced as an ephemeral random FLOAT constant or from a call to FLOAT.RAND.
    2231        /// </summary>
    23         public double MaxRandomFloag { get; set; } = double.MaxValue;
     32        public double MaxRandomFloat { get; set; }
    2433
    2534        /// <summary>
     
    2837        /// (rather than a name that was previously generated).
    2938        /// </summary>
    30         public double NewErcNameProbability { get; set; } = 0.5;
     39        public double NewErcNameProbability { get; set; }
    3140    }
    3241}
Note: See TracChangeset for help on using the changeset viewer.