Free cookie consent management tool by TermsFeed Policy Generator

source: branches/SimulationCore/HeuristicLab.SimulationCore/3.3/DiscreteEvent/Interfaces/IEventQueue.cs @ 10454

Last change on this file since 10454 was 10454, checked in by abeham, 10 years ago

#1610: updated core, implemented card game sample

File size: 467 bytes
Line 
1using HeuristicLab.Common;
2
3namespace HeuristicLab.SimulationCore {
4  public interface IEventQueue<TModel> : IDeepCloneable, IContent where TModel : IModel {
5    bool Empty { get; }
6    int Count { get; }
7
8    IEvent<TModel> Peek();
9    IEvent<TModel> Pop();
10    void Push(double time, IAction<TModel> action);
11
12    IEvent<TModel> ChangeTime(IEvent<TModel> @event, double newTime);
13    void Delete(IEvent<TModel> @event);
14
15    void Clear();
16  }
17}
Note: See TracBrowser for help on using the repository browser.