Changeset 16429
- Timestamp:
- 12/21/18 11:36:51 (6 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Tests merged: 16292
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubtreeCrossoverTest.cs
r15584 r16429 46 46 SubroutineCreater.CreateSubroutine(random, trees[i], 100, 10, 3, 3); 47 47 } 48 var children = new List<ISymbolicExpressionTree>(trees); 49 48 50 Stopwatch stopwatch = new Stopwatch(); 49 51 stopwatch.Start(); … … 52 54 var par0 = (ISymbolicExpressionTree)trees.SampleRandom(random).Clone(); 53 55 var par1 = (ISymbolicExpressionTree)trees.SampleRandom(random).Clone(); 54 SubtreeCrossover.Cross(random, par0, par1, 0.9, 100, 10);56 children[i] = SubtreeCrossover.Cross(random, par0, par1, 0.9, 100, 10); 55 57 } 58 trees = children; 56 59 } 57 60 stopwatch.Stop();
Note: See TracChangeset
for help on using the changeset viewer.