Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/02/17 20:42:40 (7 years ago)
Author:
pkimmesw
Message:

#2665 Made ErcOptions checkable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/String/StringRandomErcValue.cs

    r14898 r14905  
    2727    private const string NewStringProbabilityParameterDescription = "The probability that the selection of the ephemeral random string constant for inclusion in randomly generated code will produce a new string (rather than a string that was previously generated).";
    2828
    29     public StringRandomErcValue() {
     29    public StringRandomErcValue() : base(false, 1d) { }
     30
     31    public StringRandomErcValue(bool isEnabled, double weight = 1d) : base(isEnabled, weight) {
    3032      Name = "String random";
    3133      Parameters.Add(new FixedValueParameter<BoolValue>(AllowLowercaseLettersParameterName, new BoolValue(true)));
Note: See TracChangeset for help on using the changeset viewer.