Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/17 12:48:46 (7 years ago)
Author:
pkimmesw
Message:

#2665 Added Dictionary of stacks to interperter, clear all stacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Stack/IPushStackBase.cs

    r14834 r14914  
    11namespace HeuristicLab.Problems.ProgramSynthesis.Push.Stack {
    22  using System.Collections;
     3  using System.Collections.Generic;
    34
    4   public interface IPushStackBase : IEnumerable {
     5  public interface IPushStack : IEnumerable {
    56    bool IsEmpty { get; }
     7    bool IsEnabled { get; }
     8    int Count { get; }
    69
    7     bool IsEnabled { get; }
    8 
     10    void Clear();
    911    void Swap(int count);
    10 
    1112    void Yank(int index);
    1213    void RemoveTop();
    13 
    1414    void Remove(int count);
    15 
    1615    void RemoveAt(int index);
    17 
    1816    void RemoveAt(int index, int count);
     17    IEnumerable<string> AsStrings();
     18    IEnumerable<object> AsObjects();
    1919  }
    2020}
Note: See TracChangeset for help on using the changeset viewer.