Rev | Line | |
---|
[14727] | 1 | //namespace HeuristicLab.BenchmarkSuite.Problems {
|
---|
| 2 | // using System.Linq;
|
---|
| 3 |
|
---|
| 4 | // using HeuristicLab.BenchmarkSuite.ProblemData;
|
---|
| 5 |
|
---|
| 6 | // public class ForLoopIndex : BenchmarkSuiteDataDescriptor<long[], long[]> {
|
---|
| 7 | // private const string displayMame = "For Loop Index";
|
---|
| 8 | // private const string description = "";
|
---|
| 9 |
|
---|
| 10 | // public override string Name { get { return displayMame; } }
|
---|
| 11 | // public override string Description { get { return description; } }
|
---|
| 12 |
|
---|
| 13 | // protected override int InputArgumentCount { get { return 3; } }
|
---|
| 14 | // protected override int OutputArgumentCount { get { return 1; } }
|
---|
| 15 |
|
---|
| 16 | // public override long[] ConvertInput(string[] input) {
|
---|
| 17 | // return input.Select(ConvertInteger).ToArray();
|
---|
| 18 | // }
|
---|
| 19 |
|
---|
| 20 | // public override long[] ConvertOutput(string[] output) {
|
---|
| 21 | // return SplitByNewLine(output[0])
|
---|
| 22 | // .Select(ConvertInteger)
|
---|
| 23 | // .ToArray();
|
---|
| 24 | // }
|
---|
| 25 |
|
---|
| 26 | // public override IPushData CreatePushData(Example<long[], long[]>[] training, Example<long[], long[]>[] test) {
|
---|
| 27 | // return new ForLoopIndexPushData(training, test);
|
---|
| 28 | // }
|
---|
| 29 | // }
|
---|
| 30 | //}
|
---|
Note: See
TracBrowser
for help on using the repository browser.