Trait optimization::Evaluation
[−]
[src]
pub trait Evaluation { fn position(&self) -> &[f64]; fn value(&self) -> f64; }
Captures the essence of a function evaluation.
Required Methods
fn position(&self) -> &[f64]
Position x
with the lowest corresponding value f(x)
.
fn value(&self) -> f64
The actual value f(x)
.