Sudoku is a header-only library, part of the fwkSudoku project, providing data-structures and solvers.
For an active project using the Sudoku headers it is sufficient to add one of
the main headers like Solver.h
, which includes all its requirements.
For projects for which the Sudoku project is frequently changing,
i.e. the related unit-test project.
precompiled_basic.h
includes the frequently included external headers for the
Sudoku library.
This can be included in precompiled header for any project depending on Sudoku.
This project requires an C++17 conforming STL implementation and the GSL (Guideline Support Library), available at: Microsoft/GSL.
More on the project and compiler configurations in: Configuration.md.
- Board
Data container object template for a sudoku. It provides access to the elements, rows, columns and blocks. - Options
Used for per element data in solvers. Implemented on std::bitset, where bit 0 serves as the answer label and the bits [1, N^2] represent possible element values. - Location
Implements aconstexpr
helper type to provide the locality relations between elements. - ...
Unit tests are written for Google Test and collected in the SudokuTests project.
Several natvis files are provided in the project.
These are used by the Visual Studio Debugger to generate custom views for
objects. Documentation on
docs.microsoft.com.
- Board
- Location
- Options