Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/29/17 18:05:17 (7 years ago)
Author:
pkimmesw
Message:

#2665 Fixed Integer Overflow Exceptions, Adjusted Offspring Selection Experiments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Tests/Benchmark/SolutionTests.cs

    r15341 r15344  
    3030      var pool = new PushInterpreterPool(config);
    3131
    32       var trainingResult = evaluator.EvaluateTraining(pool, program, new MersenneTwister(1337));
    33       //var testResult = evaluator.EvaluateTest(pool, program, new MersenneTwister(1337));
     32      var trainingResult = evaluator.EvaluateTraining(pool, program, new MersenneTwister());
     33      var testResult = evaluator.EvaluateTest(pool, program, new MersenneTwister());
    3434
    3535      Assert.AreEqual(0, trainingResult.AvgQuality);
    36       //Assert.AreEqual(0, testResult.AvgQuality);
     36      Assert.AreEqual(0, testResult.AvgQuality);
    3737    }
    3838
     
    332332        (
    333333          STRING.DUP 0 STRING.ITERATE (
    334             CHAR.DUP ' ' CHAR.=
    335             EXEC.IF (
    336               CHAR.POP '\n'
    337             )
    338           INTEGER.INC PRINT.PRINTCHAR
     334              CHAR.DUP ' ' CHAR.=
     335              EXEC.IF (
     336                CHAR.POP '\n'
     337              )
     338            INTEGER.INC PRINT.PRINTCHAR
     339          )
    339340        )"),
    340341        new ReplaceSpaceWithNewline());
     
    365366            )
    366367          )
     368          INTEGER.EMPTY EXEC.WHEN 0
    367369        )"),
    368370        new ScrabbleScore());
Note: See TracChangeset for help on using the changeset viewer.