Skip to main content

ObjectiveResult

Type Alias ObjectiveResult 

Source
pub type ObjectiveResult = Result<f64, ObjectiveError>;
Expand description

The value an objective closure returns for one trial.

Aliased Type§

pub enum ObjectiveResult {
    Ok(f64),
    Err(ObjectiveError),
}

Variants§

§1.0.0

Ok(f64)

Contains the success value

§1.0.0

Err(ObjectiveError)

Contains the error value