Module strategy

Module strategy 

Source
Expand description

Tools for solving sudokus with strategies that humans use.

This module contains the StrategySolver that mimics human approaches to sudoku solving for hinting at possible moves and grading difficulty. The StrategySolver together with the Strategy enum form the core of this module. All deductions are recorded and can be obtained through the appropriate methods.

The strategies contained here are typically much slower than the use of just a few simple strategies together with backtracking. While efforts are made to optimize it, expect the solver to be at least an order of magnitude slower than the fast solver.

Re-exports§

pub use self::deduction::Deduction;

Modules§

deduction
Results of strategy applications

Structs§

StrategySolver
The StrategySolver is the struct for solving sudokus with strategies that humans commonly apply.

Enums§

Strategy
The strategies that can be used to find hints, solve or grade a sudoku.