blob: fdf3fcd2089a5832cd14b40b61910c5190ba0bf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
mod permutations;
mod solver;
mod solvers;
mod structs;
use crate::solver::{IteratorSolver, Solver};
pub static N: u32 = 8;
fn main() {
//let mut solver = solvers::intuitive::NormalSolver::new(N);
//solver.solve();
let solver = solvers::gpusolver::GpuSolver::new(N);
println!("solver: {:?}", solver);
for (i, solution) in solver.solve().enumerate() {
println!("{}: {:?}", i, solution);
}
}
|