alchemist
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist
/
it.unibo.alchemist.core
/
BatchedScheduler
Batched
Scheduler
interface
BatchedScheduler
<
T
>
:
Scheduler
<
T
>
Extension to Scheduler to allow for batched retrieval from the queue.
Parameters
<T>
concentration type
Inheritors
ArrayIndexedPriorityEpsilonBatchQueue
ArrayIndexedPriorityFixedBatchQueue
Members
Functions
add
Reaction
Link copied to clipboard
abstract
fun
addReaction
(
p
:
Actionable
<
T
>
)
get
Next
Link copied to clipboard
abstract
fun
getNext
(
)
:
Actionable
<
T
>
get
Next
Batch
Link copied to clipboard
abstract
fun
getNextBatch
(
)
:
List
<
Actionable
<
T
>
>
Retrieve the next scheduled batch of reactions.
remove
Reaction
Link copied to clipboard
abstract
fun
removeReaction
(
p
:
Actionable
<
T
>
)
update
Reaction
Link copied to clipboard
abstract
fun
updateReaction
(
p
:
Actionable
<
T
>
)