- Timestamp:
- 11/16/16 23:14:01 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.BenchmarkSuite/Problems/CountOdds.cs
r14392 r14398 31 31 protected override IEnumerable<List<int>> GenerateTest() 32 32 { 33 foreach (var list in this.GetHardcodedTrainingSamples())33 foreach (var list in GetHardcodedTrainingSamples()) 34 34 yield return list; 35 35 36 foreach (var list in this.GetAllOdd(n: 100))36 foreach (var list in GetAllOdd(n: 100)) 37 37 yield return list; 38 38 39 foreach (var list in this.GetAllEven(n: 100))39 foreach (var list in GetAllEven(n: 100)) 40 40 yield return list; 41 41 42 foreach (var list in this.GetRandom(n: 1800))42 foreach (var list in GetRandom(n: 1800)) 43 43 yield return list; 44 44 } … … 46 46 protected override IEnumerable<List<int>> GenerateTraining() 47 47 { 48 foreach (var list in this.GetHardcodedTrainingSamples())48 foreach (var list in GetHardcodedTrainingSamples()) 49 49 yield return list; 50 50 51 foreach (var list in this.GetAllOdd(n: 9))51 foreach (var list in GetAllOdd(n: 9)) 52 52 yield return list; 53 53 54 foreach (var list in this.GetAllEven(n: 9))54 foreach (var list in GetAllEven(n: 9)) 55 55 yield return list; 56 56 57 foreach (var list in this.GetRandom(n: 150))57 foreach (var list in GetRandom(n: 150)) 58 58 yield return list; 59 59 }
Note: See TracChangeset
for help on using the changeset viewer.