Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/10/17 00:27:31 (7 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/PushResultExpression.cs

    r14744 r14834  
    55
    66  public abstract class PushResultExpression<T> : StatelessExpression {
    7     protected bool Eval(IStack<T> stack, int count, Func<T[], T> templateFunc) {
     7    protected bool Eval(IPushStack<T> stack, int count, Func<T[], T> templateFunc) {
    88      if (stack.Count < count) return false;
    99
     
    1212    }
    1313
    14     protected bool Eval(IStack<T> stack, int count, Func<T[], T> templateFunc, T ignoreValue) {
     14    protected bool Eval(IPushStack<T> stack, int count, Func<T[], T> templateFunc, T ignoreValue) {
    1515      if ((stack.Count < count) || stack.Top.Equals(ignoreValue)) return false;
    1616
     
    1919    }
    2020
    21     protected bool Eval<R>(IStack<T> stack, IStack<R> resultStack, int count, Func<T[], R> templateFunc) {
     21    protected bool Eval<R>(IPushStack<T> stack, IPushStack<R> resultStack, int count, Func<T[], R> templateFunc) {
    2222      if (stack.Count < count) return false;
    2323
Note: See TracChangeset for help on using the changeset viewer.