Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/28/17 09:03:34 (7 years ago)
Author:
pkimmesw
Message:

#2665 Testet Problems, Improved Performance

Location:
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Plugin.cs

    r14907 r15341  
    2828  [Plugin("HeuristicLab.Problems.ProgramSynthesis.BenchmarkSuite", "1.0")]
    2929  [PluginFile("HeuristicLab.Problems.ProgramSynthesis.BenchmarkSuite.dll", PluginFileType.Assembly)]
     30  [PluginFile("Microsoft.IO.RecyclableMemoryStream.dll", PluginFileType.Assembly)]
    3031  [PluginDependency("HeuristicLab.Problems.ProgramSynthesis.Base", "1.0")]
    3132  [PluginDependency("HeuristicLab.Common", "3.3")]
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/ScrabbleScore.cs

    r15334 r15341  
    4545
    4646    public override ProblemData CreateProblemData() {
    47       return new ProblemData(ProblemType.ReplaceSpaceWithNewline) {
     47      return new ProblemData(ProblemType.ScrabbleScore) {
    4848        Name = Name,
    4949        Description = Description,
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/VectorAverage.cs

    r15334 r15341  
    11namespace HeuristicLab.BenchmarkSuite.Problems {
     2  using System;
     3  using System.Linq;
     4
    25  public class VectorAverage : BenchmarkSuiteDataDescriptor {
    36    private const string name = "Vector Average - Medium";
     
    1821        Examples = CloneExamples(),
    1922        BestResult = 0,
    20         WorstResult = 1000000,
     23        WorstResult = 10000,
    2124        InputArgumentTypes = new[] { ExampleArgumentType.FloatVector },
    2225        OutputArgumentTypes = new[] { ExampleArgumentType.Float },
     
    2629        MaxSize = 400,
    2730        EvalLimit = 800,
     31        FloatStringFormat = "N4"
    2832      };
    2933    }
     
    3438        OutputArgs = output,
    3539        InputFloatVector = new[] { ExampleArgumentConverter.ConvertDoubles(input[0]) },
    36         OutputFloat = ExampleArgumentConverter.ConvertDoubles(output[0]),
     40        OutputFloat = ExampleArgumentConverter.ConvertDoubles(output[0]).Select(x => Math.Round(x, 4)).ToArray(),
    3741        OutputFloatPrecision = 4
    3842      };
Note: See TracChangeset for help on using the changeset viewer.