Function ew::tools::statistics::get_predicate_success_goal [−][src]
pub fn get_predicate_success_goal<T>(
expected_goal: f64,
delta: f64
) -> impl Fn(&(T, f64)) -> bool
Create a precate for StatFunctionsSolution<T>::get_success_rate
method.
The predicate compares goal function value with optimal goal.