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/NegativeToZero.cs

    r14875 r14897  
    11namespace HeuristicLab.BenchmarkSuite.Problems {
     2  using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Integer;
     3  using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.IntegerVector;
     4
    25  public class NegativeToZero : BenchmarkSuiteDataDescriptor {
    36    private const string name = "Negative to Zero";
     
    2730        ErcOptions = {
    2831          ErcProbability = 0.05,
    29           IntegerErcOptions = {
    30             IsEnabled = true,
    31             Constants = new [] { 0 }
    32           },
    33           IntegerVectorErcOptions = {
    34             IsEnabled = true,
    35             Constants = new [] { new int[0] }
    36           }
     32          IntegerErcOptions = new IntegerErcOptions(
     33            new IntegerConstantErcValue(0)),
     34          IntegerVectorErcOptions = new IntegerVectorErcOptions(
     35            new IntegerVectorConstantsErcValue(new int[0]))
    3736        }
    3837      };
Note: See TracChangeset for help on using the changeset viewer.