toggle menu
alchemist
35.0.3
jvm
switch theme
search in API
alchemist-engine
/
it.unibo.alchemist.core
/
BatchedScheduler
Batched
Scheduler
interface
BatchedScheduler
<
T
>
:
Scheduler
<
T
>
(
source
)
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
>
)