Robin Thoni 2400112ca3 added DhNextCellChooser | 7 years ago | |
---|---|---|
.idea/.idea.uqac-ia-sudoku-csp | 7 years ago | |
sample | 7 years ago | |
uqac-ia-sudoku-csp | 7 years ago | |
.gitignore | 7 years ago | |
AUTHORS | 7 years ago | |
README.md | 7 years ago | |
uqac-ia-sudoku-csp.sln | 7 years ago |
This is a sudoku solver using Constraint Satisfaction Problem pattern.
Command line
cd uqac-ia-aspirobot
dotnet restore
dotnet build
dotnet run
Visual Studio
Run VS, open solution, wait for package restore, click run (F5)
Rider
Run Rider, open solution, wait for package restore, click run (Shift + F10)
The program allows 4 optional arguments:
This solver is coded in .NET Core (C#) using interfaces to abstract implementation.
Interfaces are in Interfaces/*.cs
Constraints are in Solver/Constraints/*.cs
Sudoku loaders/generators are in Solver/Generators/*.cs
Strategies for choosing next value are in Solver/NextValueChoosers/*.cs
Backtracking search algrithm is in Solver/BacktrackSearch.cs