Changeset 3985 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/ArgumentCreater.cs
- Timestamp:
- 06/30/10 15:12:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/ArgumentCreater.cs
r3539 r3985 136 136 // call recursively for all subtree 137 137 List<SymbolicExpressionTreeNode> subtrees = new List<SymbolicExpressionTreeNode>(branch.SubTrees); 138 while (branch.SubTrees.Count > 0) branch. SubTrees.RemoveAt(0);138 while (branch.SubTrees.Count > 0) branch.RemoveSubTree(0); 139 139 foreach (var subtree in subtrees) { 140 140 branch.AddSubTree(ReplaceArgumentsInBranch(subtree, argumentTrees));
Note: See TracChangeset
for help on using the changeset viewer.