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/Interpreter/IPushInterpreter.cs

    r14777 r14834  
    77
    88  using HeuristicLab.Problems.ProgramSynthesis.Push.Configuration;
    9   using HeuristicLab.Problems.ProgramSynthesis.Push.Data.Pool;
    109
    1110  using Stack;
     
    1312  public interface IPushInterpreter {
    1413    IRandom Random { get; set; }
    15 
    16     IStack<Expression> CodeStack { get; }
    17     IStack<Expression> ExecStack { get; }
    18     IStack<string> NameStack { get; }
    19     IStack<bool> BooleanStack { get; }
    20     IStack<long> IntegerStack { get; }
    21     IStack<double> FloatStack { get; }
    22     IStack<char> CharStack { get; }
    23     IStack<string> StringStack { get; }
    24 
     14    IPushStack<Expression> CodeStack { get; }
     15    IPushStack<Expression> ExecStack { get; }
     16    IPushStack<string> NameStack { get; }
     17    IPushStack<bool> BooleanStack { get; }
     18    IPushStack<long> IntegerStack { get; }
     19    IPushStack<double> FloatStack { get; }
     20    IPushStack<char> CharStack { get; }
     21    IPushStack<string> StringStack { get; }
     22    IPushStack<List<long>> IntegerVectorStack { get; }
     23    IPushStack<List<double>> FloatVectorStack { get; }
     24    IPushStack<List<bool>> BooleanVectorStack { get; }
     25    IPushStack<List<string>> StringVectorStack { get; }
    2526    IDictionary<string, Expression> CustomExpressions { get; }
    26 
    2727    IReadOnlyPushConfiguration Configuration { get; }
    28 
    29     InterpreterPoolContainer PoolContainer { get; }
    30 
    31     bool IsNameQuoteFlagSet { get; set; }
    32 
    3328    void Clear();
    3429    void Run(string code, bool stepwise = false);
    3530    void Run(Expression expression, bool stepwise = false);
    36     Task RunAsync(Expression expression, bool paused = false, CancellationToken token = default(CancellationToken));
    37     Task RunAsync(string code, bool paused = false, CancellationToken token = default(CancellationToken));
     31    Task RunAsync(Expression expression, CancellationToken token = default(CancellationToken));
     32    Task RunAsync(string code, CancellationToken token = default(CancellationToken));
    3833    Task AbortAndResetAsync();
    3934    Task AbortAsync();
     
    4136    void Resume();
    4237    Task ResumeAsync();
    43 
    4438    bool Step();
    45     void PrintStacks();
    4639  }
    4740}
Note: See TracChangeset for help on using the changeset viewer.