pub trait BruteForceFloat {
// Required method
fn find_best_float<P: Problem<Size = f64>>(
&self,
problem: &P,
) -> Vec<(Vec<usize>, SolutionSize<f64>)>;
}Expand description
Extension trait for floating point comparisons in brute force solver.
Required Methods§
Sourcefn find_best_float<P: Problem<Size = f64>>(
&self,
problem: &P,
) -> Vec<(Vec<usize>, SolutionSize<f64>)>
fn find_best_float<P: Problem<Size = f64>>( &self, problem: &P, ) -> Vec<(Vec<usize>, SolutionSize<f64>)>
Find best solutions with floating point tolerance.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.