Changeset 14905 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/String/StringRandomErcValue.cs
- Timestamp:
- 05/02/17 20:42:40 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/String/StringRandomErcValue.cs
r14898 r14905 27 27 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)."; 28 28 29 public StringRandomErcValue() { 29 public StringRandomErcValue() : base(false, 1d) { } 30 31 public StringRandomErcValue(bool isEnabled, double weight = 1d) : base(isEnabled, weight) { 30 32 Name = "String random"; 31 33 Parameters.Add(new FixedValueParameter<BoolValue>(AllowLowercaseLettersParameterName, new BoolValue(true)));
Note: See TracChangeset
for help on using the changeset viewer.