Changeset 5510 for branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Compiler
- Timestamp:
- 02/17/11 13:51:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Compiler/SymbolicExpressionTreeCompiler.cs
r5499 r5510 43 43 if (code.Count > ushort.MaxValue) throw new ArgumentException("Code for the tree is too long (> ushort.MaxValue)."); 44 44 entryPoint[branch.FunctionName] = (ushort)code.Count; 45 code.AddRange(Compile(branch. SubTrees[0], opCodeMapper));45 code.AddRange(Compile(branch.GetSubTree(0), opCodeMapper)); 46 46 } 47 47 // address of all functions is fixed now
Note: See TracChangeset
for help on using the changeset viewer.