Tell the backend to accept the answer associated with this ANSWERED task.
Tell the backend to accept the answer associated with this ANSWERED task.
ANSWERED tasks.
Some ACCEPTED tasks if successful.
Get the budget from the backend.
Get the budget from the backend.
Some budget if successful.
Cancel the given tasks.
Cancel the given tasks.
A list of tasks to cancel.
Which scheduler state tasks should become after cancellation.
Some list of cancelled tasks if successful.
Post tasks on the backend, one task for each task.
Post tasks on the backend, one task for each task. All tasks given should be marked READY. The method returns the complete list of tasks passed but with new states. Blocking. Invariant: the size of the list of input tasks == the size of the list of the output tasks.
A list of new tasks.
Worker IDs to exclude, if any.
Some list of the posted tasks if successful.
This method is called by the scheduler after an answer has been accepted by the scheduler policy.
This method is called by the scheduler after an answer has been accepted by the scheduler policy. Override it to provide a backend-specific shutdown implementation.
Question
This method is called by the scheduler after question initialization but before any tasks are scheduled.
This method is called by the scheduler after question initialization but before any tasks are scheduled. Override it to provide a backend-specific startup implementation.
Question
Scheduler startup time
Tell the backend to reject the answer associated with this ANSWERED task.
Tell the backend to reject the answer associated with this ANSWERED task.
A list of pairs of ANSWERED tasks and their rejection reasons.
Some REJECTED tasks if succesful.
Ask the backend to retrieve answers given a list of RUNNING tasks.
Ask the backend to retrieve answers given a list of RUNNING tasks. Invariant: the size of the list of input tasks == the size of the list of the output tasks. The virtual_time parameter is ignored when not running in simulator mode.
A list of RUNNING tasks.
The current virtual time.
Some list of RUNNING, RETRIEVED, or TIMEOUT tasks if successful.