Changeset 18161 for branches/3136_Structural_GP/HeuristicLab.ExtLibs
- Timestamp:
- 12/20/21 13:52:58 (3 years ago)
- Location:
- branches/3136_Structural_GP
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP
- Property svn:mergeinfo changed
/branches/3140_NumberSymbol merged: 18159 /trunk merged: 18160
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.ExtLibs
- Property svn:mergeinfo changed
/branches/3140_NumberSymbol/HeuristicLab.ExtLibs (added) merged: 18159 /trunk/HeuristicLab.ExtLibs (added) merged: 18160
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/instruction.h
r18133 r18161 19 19 Exp = 9, 20 20 Var = 18, 21 Const= 20,21 Number = 20, 22 22 Power = 22, 23 23 Root = 23, … … 29 29 CubeRoot = 51, 30 30 Tanh = 52, 31 SubFunction = 53 31 SubFunction = 53, 32 Constant = 54 32 33 }; 33 34 -
branches/3136_Structural_GP/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.cpp
r16333 r18161 32 32 in.buf = buffer + (i * BATCHSIZE); 33 33 34 if (in.opcode == OpCodes::Const )34 if (in.opcode == OpCodes::Constant || in.opcode == OpCodes::Number) 35 35 { 36 36 load(in.buf, in.value); -
branches/3136_Structural_GP/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.h
r18133 r18161 12 12 switch (in.opcode) 13 13 { 14 case OpCodes::Const: /* nothing to do */ break; 14 case OpCodes::Number: /* nothing to do */ break; 15 case OpCodes::Constant: /* nothing to do */ break; 15 16 case OpCodes::Var: 16 17 { … … 170 171 break; 171 172 } 172 case OpCodes::Const: /* nothing to do because buffers for constants are already set */ break; 173 case OpCodes::Number: /* nothing to do because buffers for numbers are already set */ break; 174 case OpCodes::Constant: /* nothing to do because buffers for constants are already set */ break; 173 175 case OpCodes::Add: 174 176 {
Note: See TracChangeset
for help on using the changeset viewer.