Changeset 14952 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/PigLatin.cs
- Timestamp:
- 05/10/17 11:23:05 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/PigLatin.cs
r14909 r14952 5 5 6 6 public class PigLatin : BenchmarkSuiteDataDescriptor { 7 private const string name = "Pig Latin ";7 private const string name = "Pig Latin - Hard"; 8 8 private const string fileName = "PigLatin.csv"; 9 9 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”."; … … 32 32 ErcProbability = 0.05, 33 33 CharErcOptions = new CharErcOptions( 34 new IntegerConstantErc Value(' ', 'a', 'e', 'i', 'o', 'u'),35 new IntegerRangeErc Value(0x20, 0x7e)),34 new IntegerConstantErc(' ', 'a', 'e', 'i', 'o', 'u'), 35 new IntegerRangeErc(0x20, 0x7e)), 36 36 StringErcOptions = new StringErcOptions( 37 new StringConstantErc Value("ay", "aeiou"),38 new StringRandomErc Value{37 new StringConstantErc("ay", "aeiou"), 38 new StringRandomErc { 39 39 IsEnabled = true, 40 40 AllowLowercaseLetters = true,
Note: See TracChangeset
for help on using the changeset viewer.