Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push/BenchmarkSuite/BenchmarkSuiteInstanceProvider.cs @ 17709

Last change on this file since 17709 was 15771, checked in by bburlacu, 7 years ago

#2895: Add solution skeleton for PushGP with genealogy analysis.

File size: 2.6 KB
RevLine 
[14727]1using System;
2using System.Collections.Generic;
3
4namespace HeuristicLab.BenchmarkSuite {
5
6  using HeuristicLab.BenchmarkSuite.Problems;
7  using HeuristicLab.Problems.Instances;
8
[14875]9  public class BenchmarkSuiteInstanceProvider : ProblemInstanceProvider<ProblemData> {
[14727]10    private const string name = "General Program Synthesis Benchmark Suite";
11    private const string referencePublication =
12      "T. Helmuth and L. Spector, \"Detailed Problem Descriptions for General Program Synthesis Benchmark Suite\", Technical Report UM-CS-2015-006, School of Computer Science, University of Massachusetts Amherst, 2015.";
13    private static readonly Uri webLink = new Uri("https://web.cs.umass.edu/publication/docs/2015/UM-CS-2015-006.pdf");
14
15    public override string Name
16    {
17      get { return name; }
18    }
19
20    public override string Description
21    {
22      get { return ""; }
23    }
24
25    public override Uri WebLink
26    {
27      get { return webLink; }
28    }
29
30    public override string ReferencePublication
31    {
32      get { return referencePublication; }
33    }
34
35    public override IEnumerable<IDataDescriptor> GetDataDescriptors() {
[14910]36      yield return new Checksum();
37      yield return new CollatzNumbers();
[14875]38      yield return new CompareStringLengths();
[14910]39      yield return new CountOdds();
40      yield return new Digits();
[14875]41      yield return new DoubleLetters();
42      yield return new EvenSquares();
[14910]43      yield return new ForLoopIndex();
44      yield return new Grades();
[14875]45      yield return new LastIndexOfZero();
[14910]46      yield return new Median();
[15366]47      //yield return new MedianIntegerError();
[14875]48      yield return new MirrorImage();
[14910]49      yield return new NegativeToZero();
50      yield return new NumberIO();
[14875]51      yield return new PigLatin();
[14910]52      yield return new ReplaceSpaceWithNewline();
[14875]53      yield return new ScrabbleScore();
54      yield return new Smallest();
[14910]55      yield return new SmallOrLarge();
56      yield return new StringDifferences();
57      yield return new StringLengthsBackwards();
58      yield return new SumOfSquares();
59      yield return new SuperAnagrams();
[14875]60      yield return new Syllables();
[14910]61      yield return new VectorAverage();
62      yield return new VectorSummed();
63      yield return new WallisPi();
64      yield return new WordStats();
65      yield return new XWordLines();
[14727]66    }
67
[14875]68    public override ProblemData LoadData(IDataDescriptor descriptor) {
[14777]69      var benchmarkSuiteDataDescriptor = (IBenchmarkSuiteDataDescriptor)descriptor;
70
71      return benchmarkSuiteDataDescriptor.CreateProblemData();
[14727]72    }
73  }
74}
Note: See TracBrowser for help on using the repository browser.