- Timestamp:
- 03/23/17 01:11:18 (8 years ago)
- Location:
- branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Tests/Benchmark
- Files:
-
- 4 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Tests/Benchmark/ProblemTests.cs
r14747 r14777 26 26 } 27 27 28 [TestMethod]29 [TestProperty("Time", "Medium")]30 [TestCategory("ProblemTest")]31 public void Checksum() {32 RandomWalk(new Checksum());33 }28 //[TestMethod] 29 //[TestProperty("Time", "Medium")] 30 //[TestCategory("ProblemTest")] 31 //public void Checksum() { 32 // RandomWalk(new Checksum()); 33 //} 34 34 35 35 //[TestMethod] … … 152 152 PushProgram program; 153 153 154 using (var interpreter = pool. GetInstance(random)) {155 program = CodeGenerator.RandomProgram(interpreter.PushProgramPool,maxProgramSizeLimit, random);154 using (var interpreter = pool.Create(random)) { 155 program = RecursiveCodeGenerator.RandomProgram(maxProgramSizeLimit, random); 156 156 157 157 for (var j = 0; j < data.OriginalTrainingCount; j++) { … … 193 193 var resultsTest = new double[data.OriginalTestCount]; 194 194 Parallel.For(data.OriginalTestCount, data.OriginalTestCount, i => { 195 using (var interpreter = pool. GetInstance()) {195 using (var interpreter = pool.Create()) { 196 196 var example = data.Examples[i]; 197 197
Note: See TracChangeset
for help on using the changeset viewer.