Skip to main content

Module objective

Module objective 

Expand description

The objective seam: the user’s code, and the handle it talks to.

TrialCtx’s method signatures are the frozen contract samplers, schedulers and storage are written against. The plumbing a context needs lives in study::runtime and is deliberately not public, so it can keep growing without touching the methods an objective calls.

Structs§

Outcome
What an objective returns: one value per study direction.
TrialCtx
The handle an objective uses to talk to the study.

Traits§

Objective
The user’s code under evaluation.