Changeset 14952 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/StringDifferences.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/StringDifferences.cs
r14909 r14952 4 4 5 5 public class StringDifferences : BenchmarkSuiteDataDescriptor { 6 private const string name = "String Differences ";6 private const string name = "String Differences - Hard"; 7 7 private const string fileName = "StringDifferences.csv"; 8 8 private const string description = "Given 2 strings (without whitespace) as input, find the indices at which the strings have different characters, stopping at the end of the shorter one.For each such index, print a line containing the index as well as the character in each string. For example, if the strings are “dealer” and “dollars”, the program should print: 1 e o, 2 a l, 4 e a"; … … 31 31 ErcProbability = 0.05, 32 32 CharErcOptions = new CharErcOptions( 33 new IntegerConstantErc Value(' ', '\r')),33 new IntegerConstantErc(' ', '\n')), 34 34 IntegerErcOptions = new IntegerErcOptions( 35 new IntegerRangeErc Value(-10, 10))35 new IntegerRangeErc(-10, 10)) 36 36 } 37 37 };
Note: See TracChangeset
for help on using the changeset viewer.