Changeset 9818
- Timestamp:
- 07/30/13 16:28:47 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataAnalysis.Symbolic.LinearInterpreter/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeLinearInterpreter.cs
r9815 r9818 125 125 var code = SymbolicExpressionTreeLinearCompiler.Compile(tree, OpCodes.MapSymbolToOpCode); 126 126 PrepareInstructions(code, dataset); 127 return rows.Select(row => Evaluate(dataset, r ef row, code));128 } 129 130 private double Evaluate(Dataset dataset, refint row, LinearInstruction[] code) {127 return rows.Select(row => Evaluate(dataset, row, code)); 128 } 129 130 private double Evaluate(Dataset dataset, int row, LinearInstruction[] code) { 131 131 for (int i = code.Length - 1; i >= 0; --i) { 132 132 if (code[i].skip) continue;
Note: See TracChangeset
for help on using the changeset viewer.