Changeset 14733 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/YankExpressions.cs
- Timestamp:
- 03/08/17 11:57:42 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/YankExpressions.cs
r14727 r14733 24 24 [PushExpression(StackType.Integer, "INTEGER.YANK")] 25 25 public class IntegerYankExpression : YankExpression<long> { 26 public override void Eval(IPush GpInterpreter interpreter) {26 public override void Eval(IPushInterpreter interpreter) { 27 27 this.Eval(interpreter.IntegerStack, interpreter.IntegerStack, 2); 28 28 } … … 31 31 [PushExpression(StackType.Float, "FLOAT.YANK")] 32 32 public class FloatYankExpression : YankExpression<double> { 33 public override void Eval(IPush GpInterpreter interpreter) {33 public override void Eval(IPushInterpreter interpreter) { 34 34 this.Eval(interpreter.FloatStack, interpreter.IntegerStack); 35 35 } … … 38 38 [PushExpression(StackType.Boolean, "BOOLEAN.YANK")] 39 39 public class BooleanYankExpression : YankExpression<bool> { 40 public override void Eval(IPush GpInterpreter interpreter) {40 public override void Eval(IPushInterpreter interpreter) { 41 41 this.Eval(interpreter.BooleanStack, interpreter.IntegerStack); 42 42 } … … 45 45 [PushExpression(StackType.Name, "NAME.YANK")] 46 46 public class NameYankExpression : YankExpression<string> { 47 public override void Eval(IPush GpInterpreter interpreter) {47 public override void Eval(IPushInterpreter interpreter) { 48 48 this.Eval(interpreter.NameStack, interpreter.IntegerStack); 49 49 } … … 52 52 [PushExpression(StackType.Exec, "EXEC.YANK")] 53 53 public class ExecYankExpression : YankExpression<Expression> { 54 public override void Eval(IPush GpInterpreter interpreter) {54 public override void Eval(IPushInterpreter interpreter) { 55 55 this.Eval(interpreter.ExecStack, interpreter.IntegerStack); 56 56 } … … 59 59 [PushExpression(StackType.Code, "CODE.YANK")] 60 60 public class CodeYankExpression : YankExpression<Expression> { 61 public override void Eval(IPush GpInterpreter interpreter) {61 public override void Eval(IPushInterpreter interpreter) { 62 62 this.Eval(interpreter.CodeStack, interpreter.IntegerStack); 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.