Changeset 7012 for trunk/sources/HeuristicLab.Tests
- Timestamp:
- 11/17/11 11:51:09 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/FullTreeCreatorTest.cs
r6949 r7012 32 32 private const int POPULATION_SIZE = 10000; 33 33 private const int MAX_TREE_DEPTH = 10; 34 private const int MAX_TREE_LENGTH = 1000; 34 35 private TestContext testContextInstance; 35 36 … … 55 56 stopwatch.Start(); 56 57 for (int i = 0; i != POPULATION_SIZE; i++) { 57 randomTrees.Add(FullTreeCreator.Create(random, grammar, MAX_TREE_DEPTH ));58 randomTrees.Add(FullTreeCreator.Create(random, grammar, MAX_TREE_DEPTH, MAX_TREE_LENGTH)); 58 59 } 59 60 stopwatch.Stop(); -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/GrowTreeCreatorTest.cs
r6949 r7012 32 32 private const int POPULATION_SIZE = 10000; 33 33 private const int MAX_TREE_DEPTH = 10; 34 private const int MAX_TREE_LENGTH = 50; 34 35 private TestContext testContextInstance; 35 36 … … 55 56 stopwatch.Start(); 56 57 for (int i = 0; i != POPULATION_SIZE; i++) { 57 randomTrees.Add(GrowTreeCreator.Create(random, grammar, MAX_TREE_DEPTH ));58 randomTrees.Add(GrowTreeCreator.Create(random, grammar, MAX_TREE_DEPTH, MAX_TREE_LENGTH)); 58 59 } 59 60 stopwatch.Stop();
Note: See TracChangeset
for help on using the changeset viewer.