ArrayIndexedPriorityEpsilonBatchQueue

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

concentration type

Constructors

Link copied to clipboard
constructor(epsilon: Double, delegate: ArrayIndexedPriorityQueue<T> = ArrayIndexedPriorityQueue())

Functions

Link copied to clipboard
open override fun addReaction(p0: Actionable<T>)
Link copied to clipboard
open override fun getNext(): Actionable<T>
Link copied to clipboard
open override fun getNextBatch(): List<Actionable<T>>

Retrieve the next scheduled batch of reactions.

Link copied to clipboard
open override fun removeReaction(p0: Actionable<T>)
Link copied to clipboard
open override fun updateReaction(reaction: Actionable<T>)