namespace HeuristicLab.BenchmarkSuite.Problems { using HeuristicLab.BenchmarkSuite.ProblemData; public class PigLatin : BenchmarkSuiteDataDescriptor { private const string displayMame = "Pig Latin"; 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”"; public override string Name { get { return displayMame; } } public override string Description { get { return description; } } protected override int InputCount { get { return 1; } } protected override int OutputCount { get { return 1; } } public override string ConvertInput(string[] input) { return input[0]; } public override string ConvertOutput(string[] output) { return output[0]; } public override IPushData CreatePushData(Example[] training, Example[] test) { return new PigLatinPushData(training, test); } } }