Changeset 15334 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/StringDifferences.cs
- Timestamp:
- 08/21/17 11:33:53 (7 years ago)
- Location:
- branches/PushGP/HeuristicLab.PushGP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP
- Property svn:ignore
-
old new 1 1 *.user 2 packages 3 TestResults
-
- Property svn:ignore
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/StringDifferences.cs
r15017 r15334 6 6 private const string name = "String Differences - Hard"; 7 7 private const string fileName = "StringDifferences.csv"; 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";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"; 9 9 10 10 protected override string FileName { get { return fileName; } } … … 18 18 Name = Name, 19 19 Description = Description, 20 ProgramExecutionBudget = 60000000, 20 21 Examples = CloneExamples(), 21 22 BestResult = 0, 22 WorstResult = 100,23 WorstResult = 5000, 23 24 InputArgumentTypes = new[] { ExampleArgumentType.String, ExampleArgumentType.String }, 24 25 OutputArgumentTypes = new[] { ExampleArgumentType.Print },
Note: See TracChangeset
for help on using the changeset viewer.