Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5415


Ignore:
Timestamp:
02/03/11 16:42:06 (14 years ago)
Author:
gkronber
Message:

fixed random seed for interpreter performance tests. #1336

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Tests/SimpleArithmeticExpressionInterpreterTest.cs

    r5414 r5415  
    5757    [TestMethod]
    5858    public void FullGrammarSimpleArithmeticExpressionInterpreterPerformanceTest() {
    59       var twister = new MersenneTwister();
     59      var twister = new MersenneTwister(31415);
    6060      var dataset = Util.CreateRandomDataset(twister, Rows, Columns);
    6161      var grammar = new GlobalSymbolicExpressionGrammar(new FullFunctionalExpressionGrammar());
     
    7676    [TestMethod]
    7777    public void ArithmeticGrammarSimpleArithmeticExpressionInterpreterPerformanceTest() {
    78       var twister = new MersenneTwister();
     78      var twister = new MersenneTwister(31415);
    7979      var dataset = Util.CreateRandomDataset(twister, Rows, Columns);
    8080      var grammar = new GlobalSymbolicExpressionGrammar(new ArithmeticExpressionGrammar());
Note: See TracChangeset for help on using the changeset viewer.