Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/CollatzNumbers.cs @ 14727

Last change on this file since 14727 was 14727, checked in by pkimmesw, 7 years ago

#2665 PushGP HL Integration, Views, Parameters

File size: 1.0 KB
Line 
1//namespace HeuristicLab.BenchmarkSuite.Problems {
2//  using System;
3
4//  public class CollatzNumbers : BenchmarkSuiteDataDescriptor<long[], long[]> {
5//    private const string displayMame = "Collatz Numbers";
6//    private const string description = "";
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 1; } }
12
13//    public override long[] ConvertInput(string[] input) {
14//      return Array.ConvertAll(input, ConvertInteger);
15//    }
16
17//    public override long[] ConvertOutput(string[] output) {
18//      return Array.ConvertAll(output, ConvertInteger);
19//    }
20
21//    public override Data CreateData() {
22//      var input = this.GetInput();
23//      var output = this.GetOutput();
24
25//      return new Data(0, double.MaxValue, 0, 0,
26//        inputInt: input,
27//        outputInt: output);
28//    }
29//  }
30//}
Note: See TracBrowser for help on using the repository browser.