Changeset 14914 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Stack/IPushStackBase.cs
- Timestamp:
- 05/03/17 12:48:46 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Stack/IPushStackBase.cs
r14834 r14914 1 1 namespace HeuristicLab.Problems.ProgramSynthesis.Push.Stack { 2 2 using System.Collections; 3 using System.Collections.Generic; 3 4 4 public interface IPushStack Base: IEnumerable {5 public interface IPushStack : IEnumerable { 5 6 bool IsEmpty { get; } 7 bool IsEnabled { get; } 8 int Count { get; } 6 9 7 bool IsEnabled { get; } 8 10 void Clear(); 9 11 void Swap(int count); 10 11 12 void Yank(int index); 12 13 void RemoveTop(); 13 14 14 void Remove(int count); 15 16 15 void RemoveAt(int index); 17 18 16 void RemoveAt(int index, int count); 17 IEnumerable<string> AsStrings(); 18 IEnumerable<object> AsObjects(); 19 19 } 20 20 }
Note: See TracChangeset
for help on using the changeset viewer.