Executor

interface Executor(source)

Runs the arms of an experiment. The loop above it is deterministic given these outcomes.

Inheritors

Functions

Link copied to clipboard
abstract fun capture(arm: RunConfig): Capsule?

The capsule captured inside the arm's container, probes included; null if it cannot.

Link copied to clipboard
abstract fun prepare(arm: RunConfig, dir: String): String?

Builds what arm needs under the directory dir; a problem text, or null when ready.

Link copied to clipboard
abstract fun trial(arm: RunConfig, index: Int): RawTrial

Runs trial index (from 0) of arm.