Ignore:
Timestamp:
04/10/17 00:27:31 (3 years ago)
Author:
pkimmesw
Message:

#2665 LexicaseSelector, Performance improvements, UI Fixes, Debugger only shows used stacks, fixed Debugger stepping, Added vector expressions, ERCOptions,

File:
1 edited

Legend:

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

    r14777 r14834  
    167167    }
    168168
    169     public override bool Eval(IPushInterpreter interpreter) {
     169    public override bool Eval(IInternalPushInterpreter interpreter) {
    170170      interpreter.ExecStack.Push(this.expressions);
    171171      return true;
     
    191191    }
    192192
    193     public IEnumerable<Expression> DepthFirst() {
     193    public IEnumerable<Expression> DepthLast() {
    194194      foreach (var expr in this.expressions) {
    195195        if (expr.IsProgram)
    196           foreach (var sub in ((PushProgram)expr).DepthFirst())
     196          foreach (var sub in ((PushProgram)expr).DepthLast())
    197197            yield return sub;
    198198        else yield return expr;
Note: See TracChangeset for help on using the changeset viewer.