Changeset 4722 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/SimpleArithmeticExpressionInterpreter.cs
- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/branches/CloningRefactoring/HeuristicLab.Problems.DataAnalysis (added) merged: 4678,4682,4684,4697,4712
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/SimpleArithmeticExpressionInterpreter.cs
r4068 r4722 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; … … 33 34 [Item("SimpleArithmeticExpressionInterpreter", "Interpreter for arithmetic symbolic expression trees including function calls.")] 34 35 // not thread safe! 35 public class SimpleArithmeticExpressionInterpreter : NamedItem, ISymbolicExpressionTreeInterpreter {36 public sealed class SimpleArithmeticExpressionInterpreter : NamedItem, ISymbolicExpressionTreeInterpreter { 36 37 private class OpCodes { 37 38 public const byte Add = 1; … … 106 107 } 107 108 109 [StorableConstructor] 110 private SimpleArithmeticExpressionInterpreter(bool deserializing) : base(deserializing) { } 111 private SimpleArithmeticExpressionInterpreter(SimpleArithmeticExpressionInterpreter original, Cloner cloner) : base(original, cloner) { } 112 113 public override IDeepCloneable Clone(Cloner cloner) { 114 return new SimpleArithmeticExpressionInterpreter(this, cloner); 115 } 116 108 117 public SimpleArithmeticExpressionInterpreter() 109 118 : base() { … … 286 295 287 296 // skips a whole branch 288 pr otectedvoid SkipBakedCode() {297 private void SkipBakedCode() { 289 298 int i = 1; 290 299 while (i > 0) {
Note: See TracChangeset
for help on using the changeset viewer.