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/StringDifferences.cs

    r14909 r14952  
    44
    55  public class StringDifferences : BenchmarkSuiteDataDescriptor {
    6     private const string name = "String Differences";
     6    private const string name = "String Differences - Hard";
    77    private const string fileName = "StringDifferences.csv";
    88    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";
     
    3131          ErcProbability = 0.05,
    3232          CharErcOptions = new CharErcOptions(
    33             new IntegerConstantErcValue(' ', '\r')),
     33            new IntegerConstantErc(' ', '\n')),
    3434          IntegerErcOptions = new IntegerErcOptions(
    35             new IntegerRangeErcValue(-10, 10))
     35            new IntegerRangeErc(-10, 10))
    3636        }
    3737      };
Note: See TracChangeset for help on using the changeset viewer.