Array Indexed Priority Epsilon Batch Queue
class ArrayIndexedPriorityEpsilonBatchQueue<T>(epsilon: Double, delegate: ArrayIndexedPriorityQueue<T> = ArrayIndexedPriorityQueue()) : Scheduler<T> , BatchedScheduler<T>
Batched extension for ArrayIndexedPriorityQueue. This implementation uses epsilon-sensitivity in order to build the next batch to process. Events will be added to the batch while | tau(e1) - tau(e2) | < epsilon.
Parameters
Functions
Link copied to clipboard
Adds a reaction to the data structure.
Link copied to clipboard
Allows to access the next reaction to be executed.
Link copied to clipboard
Retrieve the next scheduled batch of reactions.
Link copied to clipboard
Removes a reaction from the structure. If the reaction is not present, nothing is done and an Exception is thrown.
Link copied to clipboard
Notifies the structure that the reaction r has changed. The whole structure will be rearranged to ensure consistency.