Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.Algorithms.PushGP/Expressions/Float/FloatPopExpression.cs @ 14320

Last change on this file since 14320 was 14320, checked in by pkimmesw, 7 years ago

#2665 Added Interpreter, Parser, 16 Examples, Expressions needed for the examples

File size: 397 bytes
Line 
1using HeuristicLab.Algorithms.PushGP.Stack;
2
3namespace HeuristicLab.Algorithms.PushGP.Expressions
4{
5    public class FloatPopExpression : Expression
6    {
7        public FloatPopExpression() : base(OpCode.FloatPop)
8        { }
9
10        public override void Eval(IInterpreterService interpreterService)
11        {
12            interpreterService.FloatStack.Pop();
13        }
14    }
15}
Note: See TracBrowser for help on using the repository browser.