Rev | Line | |
---|
[14727] | 1 | //namespace HeuristicLab.BenchmarkSuite.Problems {
|
---|
| 2 | // using HeuristicLab.BenchmarkSuite.ProblemData;
|
---|
| 3 |
|
---|
| 4 | // public class NegativeToZero : BenchmarkSuiteDataDescriptor<long[], long[]> {
|
---|
| 5 | // private const string displayMame = "Negative To Zero";
|
---|
| 6 | // private const string description = "Given a vector of integers, return the vector where all negative integers have been replaced by 0.";
|
---|
| 7 |
|
---|
| 8 | // public override string Name { get { return displayMame; } }
|
---|
| 9 | // public override string Description { get { return description; } }
|
---|
| 10 |
|
---|
| 11 | // protected override int InputArgumentCount { get { return 1; } }
|
---|
| 12 | // protected override int OutputArgumentCount { get { return 1; } }
|
---|
| 13 |
|
---|
| 14 | // public override long[] ConvertInput(string[] input) {
|
---|
| 15 | // return ConvertIntegers(input[0]);
|
---|
| 16 | // }
|
---|
| 17 |
|
---|
| 18 | // public override long[] ConvertOutput(string[] output) {
|
---|
| 19 | // return ConvertIntegers(output[0]);
|
---|
| 20 | // }
|
---|
| 21 |
|
---|
| 22 | // public override IPushData CreatePushData(Example<long[], long[]>[] training, Example<long[], long[]>[] test) {
|
---|
| 23 | // return new NegativeToZeroPushData(training, test);
|
---|
| 24 | // }
|
---|
| 25 | // }
|
---|
| 26 | //}
|
---|
Note: See
TracBrowser
for help on using the repository browser.