- Timestamp:
- 07/09/10 17:01:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Compiler/SymbolicExpressionTreeCompiler.cs
r3747 r4022 37 37 List<Instruction> code = new List<Instruction>(); 38 38 entryPoint.Clear(); 39 // compile main body 40 code.AddRange(Compile(tree.Root.SubTrees[0].SubTrees[0], opCodeMapper)); 41 // compile branches 39 // compile main body branches 40 foreach (var branch in tree.Root.SubTrees[0].SubTrees) { 41 code.AddRange(Compile(branch, opCodeMapper)); 42 } 43 // compile function branches 42 44 var functionBranches = from node in tree.IterateNodesPrefix() 43 45 where node.Symbol is Defun
Note: See TracChangeset
for help on using the changeset viewer.