Changeset 4022 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/SimpleArithmeticExpressionInterpreter.cs
- Timestamp:
- 07/09/10 17:01:36 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/SimpleArithmeticExpressionInterpreter.cs
r3996 r4022 21 21 22 22 using System; 23 using System.Linq; 23 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 25 using HeuristicLab.Common; … … 97 98 private Instruction[] code; 98 99 private int pc; 100 private double[] argumentStack = new double[ARGUMENT_STACK_SIZE]; 101 private int argStackPointer; 99 102 100 103 public override bool CanChangeName { … … 140 143 } 141 144 142 private double[] argumentStack = new double[ARGUMENT_STACK_SIZE]; 143 private int argStackPointer; 144 145 public double Evaluate() { 146 var currentInstr = code[pc++]; 145 private double Evaluate() { 146 Instruction currentInstr = code[pc++]; 147 147 switch (currentInstr.opCode) { 148 148 case OpCodes.Add: {
Note: See TracChangeset
for help on using the changeset viewer.
