Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/28/17 22:52:08 (7 years ago)
Author:
pkimmesw
Message:

#2665 Dynamic ErcValues, Separate Push from BenchmarkSuite Push

File:
1 edited

Legend:

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

    r14875 r14897  
    11namespace HeuristicLab.BenchmarkSuite.Problems {
    2   using HeuristicLab.Problems.ProgramSynthesis.Base.Erc;
     2  using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Char;
     3  using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Integer;
    34
    45  public class DoubleLetters : BenchmarkSuiteDataDescriptor {
     
    2425        TrainingCount = 100,
    2526        TestCount = 1000,
    26         EnabledDataTypes = DataTypes.Exec | DataTypes.Integer | DataTypes.Boolean | DataTypes.String | DataTypes.Char,
     27        EnabledDataTypes = DataTypes.Exec | DataTypes.Integer | DataTypes.Boolean | DataTypes.String | DataTypes.Char | DataTypes.Print,
    2728        MaxSize = 800,
    2829        EvalLimit = 1600,
    2930        ErcOptions = {
    3031          ErcProbability = 0.02,
    31           CharErcOptions = {
    32             IsEnabled = true,
    33             Constants = new [] { '!' }
    34           }
     32          CharErcOptions = new CharErcOptions(
     33            new IntegerConstantErcValue('!'))
    3534        }
    3635      };
     
    4241        OutputArgs = output,
    4342        InputString = input,
    44         OutputString = output,
     43        OutputPrint = output[0],
    4544      };
    4645    }
Note: See TracChangeset for help on using the changeset viewer.