Changeset 5733 for branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/ArchitectureManipulators/ArgumentDeleter.cs
- Timestamp:
- 03/17/11 14:07:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/ArchitectureManipulators/ArgumentDeleter.cs
r5686 r5733 71 71 select node).ToList(); 72 72 foreach (var invokeNode in invocationNodes) { 73 invokeNode.RemoveSub Tree(removedArgument);73 invokeNode.RemoveSubtree(removedArgument); 74 74 } 75 75 … … 81 81 selectedDefunBranch.NumberOfArguments--; 82 82 // reduce arity in known functions of all root branches 83 foreach (var subtree in symbolicExpressionTree.Root.Sub Trees) {83 foreach (var subtree in symbolicExpressionTree.Root.Subtrees) { 84 84 var matchingInvokeSymbol = subtree.Grammar.Symbols.OfType<InvokeFunction>().Where(s => s.FunctionName == selectedDefunBranch.FunctionName).SingleOrDefault(); 85 85 if (matchingInvokeSymbol != null) {
Note: See TracChangeset
for help on using the changeset viewer.