Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/MirrorImage.cs @ 14777

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

#2665 PushGP HL Integration, Views, Parameters

File size: 1.1 KB
Line 
1//namespace HeuristicLab.BenchmarkSuite.Problems {
2//  using System.Linq;
3
4//  using HeuristicLab.BenchmarkSuite.ProblemData;
5
6//  public class MirrorImage : BenchmarkSuiteDataDescriptor<long[][], bool> {
7//    private const string displayMame = "Mirror Image";
8//    private const string description = "Given two vectors of integers, return true if one vector is the reverse of the other, and false otherwise";
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 2; } }
14//    protected override int OutputArgumentCount { get { return 1; } }
15
16//    public override long[][] ConvertInput(string[] input) {
17//      return input.Select(ConvertIntegers).ToArray();
18//    }
19
20//    public override bool ConvertOutput(string[] output) {
21//      return ConvertBool(output[0]);
22//    }
23
24//    public override IPushData CreatePushData(Example<long[][], bool>[] training, Example<long[][], bool>[] test) {
25//      return new MirrorImagePushData(training, test);
26//    }
27//  }
28//}
Note: See TracBrowser for help on using the repository browser.