Free cookie consent management tool by TermsFeed Policy Generator

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

#2665 Fixed Benchmark Problem Definition, Converted LoopExpressions to stateless expressions, Added several unit test to ensure funcionality, Fixed UI bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Problem/BenchmarkSuite/PushBenchmarkSuiteSolution.cs

    r14897 r15017  
    33  using Configuration;
    44  using Core;
    5   using Encodings.IntegerVectorEncoding;
     5
     6  using HeuristicLab.Problems.ProgramSynthesis.Push.Expressions;
     7
    68  using Persistence.Default.CompositeSerializers.Storable;
    79
     
    911  public class PushBenchmarkSuiteSolution : PushSolution {
    1012    public PushBenchmarkSuiteSolution(
    11       IntegerVector integerVector,
     13      PushProgram program,
    1214      double quality,
    1315      IRandom random,
    1416      IReadOnlyPushConfiguration config,
    1517      PushBenchmarkSuiteEvaluator evaluator,
    16       bool simplify = false) : base(integerVector, quality, random, config, evaluator, simplify) {
     18      bool simplify = false) : base(program, quality, random, config, evaluator, simplify) {
    1719    }
    1820
     
    2325
    2426    public override PushSolution Simplify() {
    25       return new PushBenchmarkSuiteSolution(IntegerVector, Quality, Random, Config, (PushBenchmarkSuiteEvaluator)Evaluator, true);
     27      return new PushBenchmarkSuiteSolution(Program, Quality, Random, Config, (PushBenchmarkSuiteEvaluator)Evaluator, true);
    2628    }
    2729
Note: See TracChangeset for help on using the changeset viewer.