Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/10/17 11:23:05 (8 years ago)
Author:
pkimmesw
Message:

#2665 Added IsNoop to Expression, Made Expressions storable, Fixed Debugger, Fixed and improved problem data and result visualisation, Added custom ErcOption view, Added problem difficulty to problem data name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/PigLatin.cs

    r14909 r14952  
    55
    66  public class PigLatin : BenchmarkSuiteDataDescriptor {
    7     private const string name = "Pig Latin";
     7    private const string name = "Pig Latin - Hard";
    88    private const string fileName = "PigLatin.csv";
    99    private const string description = "Given a string containing lowercase words separated by single spaces, print the string with each word translated to pig Latin.Specifically, if a word starts with a vowel, it should have“ay”added to its end; otherwise, the first letter is moved to the end of the word, followed by “ay”.";
     
    3232          ErcProbability = 0.05,
    3333          CharErcOptions = new CharErcOptions(
    34             new IntegerConstantErcValue(' ', 'a', 'e', 'i', 'o', 'u'),
    35             new IntegerRangeErcValue(0x20, 0x7e)),
     34            new IntegerConstantErc(' ', 'a', 'e', 'i', 'o', 'u'),
     35            new IntegerRangeErc(0x20, 0x7e)),
    3636          StringErcOptions = new StringErcOptions(
    37             new StringConstantErcValue("ay", "aeiou"),
    38             new StringRandomErcValue {
     37            new StringConstantErc("ay", "aeiou"),
     38            new StringRandomErc {
    3939              IsEnabled = true,
    4040              AllowLowercaseLetters = true,
Note: See TracChangeset for help on using the changeset viewer.