Skip to main content

Module objective

Module objective 

Source
Expand description

Objective function framework — scoring, selection, composition.

Re-exports§

pub use error::ObjectiveError;
pub use error::ObjectiveResult;

Modules§

builtin
Built-in objective functions
compose
Objective composition utilities
error
Objective error types

Structs§

ObjectiveContext
Context for objective evaluation; as_of defaults to Unix epoch.
Selection
A selection result from an objective function

Traits§

DeterministicObjective
Extension trait for deterministic selection with UUID tie-breaking on equal scores.
Objective
Deterministic, composable objective function over a candidate set.

Functions§

objective_fn
Create an objective from a scoring function.