- Timestamp:
- 07/10/15 11:51:51 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Crossovers/SubtreeCrossover.cs
r12009 r12702 134 134 parent0.Root.ForEachNodePostfix((n) => { 135 135 if (n.SubtreeCount > 0 && n != parent0.Root) { 136 foreach (var child in n.Subtrees) { 136 //avoid linq to reduce memory pressure 137 for (int i = 0; i < n.SubtreeCount; i++) { 138 var child = n.GetSubtree(i); 137 139 if (child.GetLength() <= maxBranchLength && 138 140 child.GetDepth() <= maxBranchDepth) {
Note: See TracChangeset
for help on using the changeset viewer.