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

    r14875 r14897  
    11namespace HeuristicLab.BenchmarkSuite.Problems {
     2  using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Boolean;
     3  using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Char;
     4  using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Integer;
     5
    26  public class SuperAnagrams : BenchmarkSuiteDataDescriptor {
    37    private const string name = "Super Anagrams";
     
    2731        ErcOptions = {
    2832          ErcProbability = 0.05,
    29           BooleanErcOptions = {
    30             IsEnabled = true,
    31             AllowFalse = true,
    32             AllowTrue = true
    33           },
    34           IntegerErcOptions = {
    35             IsEnabled = true,
    36             Start = -1000,
    37             End = 1000
    38           },
    39           CharErcOptions = {
    40             IsEnabled = true,
    41             Start = 0x20,
    42             End = 0x7e
    43           }
     33          BooleanErcOptions = new BooleanErcOptions(
     34            new BooleanRandomErcValue {
     35              IsEnabled = true,
     36              AllowFalse = true,
     37              AllowTrue = true
     38            }),
     39          IntegerErcOptions = new IntegerErcOptions(
     40            new IntegerRangeErcValue(-1000, 1000)),
     41          CharErcOptions = new CharErcOptions(
     42            new IntegerRangeErcValue(0x20, 0x7e))
    4443        }
    4544      };
Note: See TracChangeset for help on using the changeset viewer.