Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/08/17 11:57:42 (7 years ago)
Author:
pkimmesw
Message:

#2665 Storable problem data, Renamings due to typos, Removed GP from class names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/LoopExpression.cs

    r14727 r14733  
    3232  }
    3333
    34   public abstract class LoopExpression : StatefullExpression<LoopState> {
     34  public abstract class LoopExpression : StatefulExpression<LoopState> {
    3535    protected LoopExpression() : base(new LoopState()) { }
    3636    protected LoopExpression(LoopState state) : base(state) { }
    3737
    38     protected void Eval(IPushGpInterpreter interpreter, IStack<Expression> sourceStack, bool pushCurrentIndex = false) {
     38    protected void Eval(IPushInterpreter interpreter, IStack<Expression> sourceStack, bool pushCurrentIndex = false) {
    3939      // if not initialized
    4040      if (this.State.Body == null) {
     
    5959    protected abstract LoopExpression Clone(LoopState state);
    6060
    61     protected virtual void PushIteration(IPushGpInterpreter interpreter) {
     61    protected virtual void PushIteration(IPushInterpreter interpreter) {
    6262      interpreter.IntegerStack.Push(this.State.CurrentIndex);
    6363
     
    6868    }
    6969
    70     protected virtual void PushLastIteration(IPushGpInterpreter interpreter) {
     70    protected virtual void PushLastIteration(IPushInterpreter interpreter) {
    7171      interpreter.IntegerStack.Push(this.State.CurrentIndex);
    7272      interpreter.ExecStack.Push(this.State.Body);
     
    9595    //}
    9696
    97     protected abstract bool HasInsufficientArguments(IPushGpInterpreter interpreter, IStack<Expression> sourceStack);
     97    protected abstract bool HasInsufficientArguments(IPushInterpreter interpreter, IStack<Expression> sourceStack);
    9898
    99     protected abstract LoopState InitState(IPushGpInterpreter interpreter, IStack<Expression> sourceStack);
     99    protected abstract LoopState InitState(IPushInterpreter interpreter, IStack<Expression> sourceStack);
    100100  }
    101101}
Note: See TracChangeset for help on using the changeset viewer.