Skip to content

Latest commit

 

History

History
77 lines (66 loc) · 2.84 KB

README.md

File metadata and controls

77 lines (66 loc) · 2.84 KB

Sudoku

Sudoku is a header-only library, part of the fwkSudoku project, providing data-structures and solvers.

General Information

Precompiled headers

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.

Depenencies

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.

Classes

  • 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 a constexpr helper type to provide the locality relations between elements.
  • ...

Unit-Testing

Unit tests are written for Google Test and collected in the SudokuTests project.

Other

.natvis debug views

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

top