|
roadrunner
2.6.0
Fast simulator for SBML models
|
The EventQueue class is when events are queued to execute, but have not yet executed. More...
#include <EventQueue.h>
Public Types | |
| typedef std::list< rrllvm::Event > | _Sequence |
| typedef std::less< _Sequence::value_type > | _Compare |
| typedef _Sequence::const_iterator | const_iterator |
| typedef _Sequence::iterator | iterator |
| typedef _Sequence::const_reference | const_reference |
Public Member Functions | |
| bool | eraseExpiredEvents () |
| remove expired events from the queue. | |
| bool | hasCurrentEvents () |
| are any events current (delay == 0 and triggered or persistant) | |
| bool | applyEvents () |
| assign all of the top most events with the same priority and remove them from the queue. More... | |
| uint | size () const |
| number of events in the queue | |
| const_reference | top () |
| event with lowest time to assignment and highest priority. | |
| void | push (const Event &e) |
| insert a new event into the queue. More... | |
| double | getNextPendingEventTime () |
| the time the next event is sceduled to be assigned. | |
| void | saveState (std::ostream &out) |
| void | loadState (std::istream &in, LLVMExecutableModel &model) |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const EventQueue &queue) |
The EventQueue class is when events are queued to execute, but have not yet executed.
Some events may be 'de-listed' from the Event Queue if thier trigger changes back to 'false', if they are set persistent=False.
| bool rrllvm::EventQueue::applyEvents | ( | ) |
assign all of the top most events with the same priority and remove them from the queue.
| void rrllvm::EventQueue::push | ( | const Event & | e | ) |
insert a new event into the queue.
The queue is re-sorted.