Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/16/16 23:14:01 (8 years ago)
Author:
pkimmesw
Message:

#2665 Expressions are splitted into StatefullExpressions and StatelessExpressions, Added traits for tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.BenchmarkSuite/Problems/CountOdds.cs

    r14392 r14398  
    3131        protected override IEnumerable<List<int>> GenerateTest()
    3232        {
    33             foreach (var list in this.GetHardcodedTrainingSamples())
     33            foreach (var list in GetHardcodedTrainingSamples())
    3434                yield return list;
    3535
    36             foreach (var list in this.GetAllOdd(n: 100))
     36            foreach (var list in GetAllOdd(n: 100))
    3737                yield return list;
    3838
    39             foreach (var list in this.GetAllEven(n: 100))
     39            foreach (var list in GetAllEven(n: 100))
    4040                yield return list;
    4141
    42             foreach (var list in this.GetRandom(n: 1800))
     42            foreach (var list in GetRandom(n: 1800))
    4343                yield return list;
    4444        }
     
    4646        protected override IEnumerable<List<int>> GenerateTraining()
    4747        {
    48             foreach (var list in this.GetHardcodedTrainingSamples())
     48            foreach (var list in GetHardcodedTrainingSamples())
    4949                yield return list;
    5050
    51             foreach (var list in this.GetAllOdd(n: 9))
     51            foreach (var list in GetAllOdd(n: 9))
    5252                yield return list;
    5353
    54             foreach (var list in this.GetAllEven(n: 9))
     54            foreach (var list in GetAllEven(n: 9))
    5555                yield return list;
    5656
    57             foreach (var list in this.GetRandom(n: 150))
     57            foreach (var list in GetRandom(n: 150))
    5858                yield return list;
    5959        }
Note: See TracChangeset for help on using the changeset viewer.