Changeset 4249 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/SubroutineCreater.cs
- Timestamp:
- 08/18/10 14:57:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/SubroutineCreater.cs
r4068 r4249 111 111 symbolicExpressionTree.Root.AddSubTree(defunNode); 112 112 // the grammar in the newly defined function is a clone of the grammar of the originating branch 113 defunNode. Grammar = (ISymbolicExpressionGrammar)selectedBody.Grammar.Clone();113 defunNode.SetGrammar((ISymbolicExpressionGrammar)selectedBody.Grammar.Clone()); 114 114 // remove all argument symbols from grammar 115 115 var oldArgumentSymbols = defunNode.Grammar.Symbols.OfType<Argument>().ToList();
Note: See TracChangeset
for help on using the changeset viewer.