Robin Thoni 290363b38c added NextNumberChooser | 7 年之前 | |
---|---|---|
.idea/.idea.uqac-ia-sudoku-csp | 7 年之前 | |
sample | 7 年之前 | |
uqac-ia-sudoku-csp | 7 年之前 | |
.gitignore | 7 年之前 | |
AUTHORS | 7 年之前 | |
README.md | 7 年之前 | |
uqac-ia-sudoku-csp.sln | 7 年之前 |
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 3 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