Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Stack/IPushStackBase.cs @ 14914

Last change on this file since 14914 was 14914, checked in by pkimmesw, 7 years ago

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

File size: 545 bytes
Line 
1namespace HeuristicLab.Problems.ProgramSynthesis.Push.Stack {
2  using System.Collections;
3  using System.Collections.Generic;
4
5  public interface IPushStack : IEnumerable {
6    bool IsEmpty { get; }
7    bool IsEnabled { get; }
8    int Count { get; }
9
10    void Clear();
11    void Swap(int count);
12    void Yank(int index);
13    void RemoveTop();
14    void Remove(int count);
15    void RemoveAt(int index);
16    void RemoveAt(int index, int count);
17    IEnumerable<string> AsStrings();
18    IEnumerable<object> AsObjects();
19  }
20}
Note: See TracBrowser for help on using the repository browser.