Line | |
---|
1 | //namespace HeuristicLab.BenchmarkSuite.Problems {
|
---|
2 | // using HeuristicLab.BenchmarkSuite.ProblemData;
|
---|
3 |
|
---|
4 | // public class ReplaceSpaceWithNewline : BenchmarkSuiteDataDescriptor<string, string[]> {
|
---|
5 | // private const string displayMame = "Replace Space with Newline";
|
---|
6 | // private const string description = "Given a string input, print the string, replacing spaces with newlines.Also, return the integer count of the non- whitespace characters. The input string will not have tabs or newlines.";
|
---|
7 |
|
---|
8 | // public override string Name { get { return displayMame; } }
|
---|
9 | // public override string Description { get { return description; } }
|
---|
10 | // protected override int InputArgumentCount { get { return 1; } }
|
---|
11 | // protected override int OutputArgumentCount { get { return 2; } }
|
---|
12 |
|
---|
13 | // public override string ConvertInput(string[] input) {
|
---|
14 | // return input[0];
|
---|
15 | // }
|
---|
16 |
|
---|
17 | // public override string[] ConvertOutput(string[] output) {
|
---|
18 | // return output;
|
---|
19 | // }
|
---|
20 |
|
---|
21 | // public override IPushData CreatePushData(Example<string, string[]>[] training, Example<string, string[]>[] test) {
|
---|
22 | // return new ReplaceSpaceWithNewlinePushData(training, test);
|
---|
23 | // }
|
---|
24 | // }
|
---|
25 | //}
|
---|
Note: See
TracBrowser
for help on using the repository browser.