Changeset 773
- Timestamp:
- 11/18/08 17:14:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/BakedTreeEvaluator.cs
r767 r773 92 92 constExpr &= branchConstExpr; 93 93 } 94 codeArr[index].exprLength = exprLength;95 94 96 95 if (constExpr) { 97 codeArr[index].symbol = EvaluatorSymbolTable.CONSTANT;98 96 PC = index; 99 97 codeArr[index].d_arg0 = EvaluateBakedCode(); 100 } 98 codeArr[index].symbol = EvaluatorSymbolTable.CONSTANT; 99 } 100 codeArr[index].exprLength = exprLength; 101 101 } 102 102 … … 108 108 case EvaluatorSymbolTable.DIFFERENTIAL: 109 109 case EvaluatorSymbolTable.VARIABLE: { 110 instr.i_arg0 = ( byte)f.data[0]; // var110 instr.i_arg0 = (short)f.data[0]; // var 111 111 instr.d_arg0 = f.data[1]; // weight 112 instr.i_arg1 = ( byte)f.data[2]; // sample-offset112 instr.i_arg1 = (short)f.data[2]; // sample-offset 113 113 instr.exprLength = 1; 114 114 break;
Note: See TracChangeset
for help on using the changeset viewer.