C# Class MpcLib.Simulation.Des.ConcurrentEventQueue

Implements a thread-safe event queue for parallel discrete event simulation.
Inheritance: IEventQueue
Mostrar archivo Open project: mahdiz/mpclib

Public Methods

Method Description
Dequeue ( ) : BaseEvent
Dequeue ( long t ) : IList
Enqueue ( BaseEvent e ) : void

Method Details

Dequeue() public method

public Dequeue ( ) : BaseEvent
return BaseEvent

Dequeue() public method

public Dequeue ( long t ) : IList
t long
return IList

Enqueue() public method

public Enqueue ( BaseEvent e ) : void
e BaseEvent
return void