Changeset 9826 for branches/HeuristicLab.DataAnalysis.Symbolic.LinearInterpreter/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Compiler/SymbolicExpressionTreeLinearCompiler.cs
- Timestamp:
- 07/31/13 12:51:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataAnalysis.Symbolic.LinearInterpreter/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Compiler/SymbolicExpressionTreeLinearCompiler.cs
r9815 r9826 30 30 int c = 1, i = 0; 31 31 foreach (var node in root.IterateNodesBreadth()) { 32 for (int j = 0; j !=node.SubtreeCount; ++j) {32 for (int j = 0; j < node.SubtreeCount; ++j) { 33 33 var s = node.GetSubtree(j); 34 34 code[c + j] = new LinearInstruction { dynamicNode = s, nArguments = (byte)s.SubtreeCount, opCode = opCodeMapper(s) };
Note: See TracChangeset
for help on using the changeset viewer.