pub trait BruteForceProblem: Problem {
// Required method
fn dimensions(&self) -> Vec<usize>;
// Provided method
fn num_variables(&self) -> usize { ... }
}Expand description
A problem with a finite Cartesian coordinate space for reference solving.
Required Methods§
Sourcefn dimensions(&self) -> Vec<usize>
fn dimensions(&self) -> Vec<usize>
Cardinality of each coordinate in the brute-force search space.
Provided Methods§
Sourcefn num_variables(&self) -> usize
fn num_variables(&self) -> usize
Number of coordinates in the brute-force search space.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".