Changeset 12706 for stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubtreeCrossoverTest.cs
- Timestamp:
- 07/10/15 12:02:20 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12422,12424,12480-12482
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 12482
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubtreeCrossoverTest.cs
r12009 r12706 50 50 for (int gCount = 0; gCount < generations; gCount++) { 51 51 for (int i = 0; i < POPULATION_SIZE; i++) { 52 var par0 = (ISymbolicExpressionTree)trees.S electRandom(random).Clone();53 var par1 = (ISymbolicExpressionTree)trees.S electRandom(random).Clone();52 var par0 = (ISymbolicExpressionTree)trees.SampleRandom(random).Clone(); 53 var par1 = (ISymbolicExpressionTree)trees.SampleRandom(random).Clone(); 54 54 SubtreeCrossover.Cross(random, par0, par1, 0.9, 100, 10); 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.