Robin Thoni 290363b38c added NextNumberChooser | 7 anos atrás | |
---|---|---|
.idea/.idea.uqac-ia-sudoku-csp | 7 anos atrás | |
sample | 7 anos atrás | |
uqac-ia-sudoku-csp | 7 anos atrás | |
.gitignore | 7 anos atrás | |
AUTHORS | 7 anos atrás | |
README.md | 7 anos atrás | |
uqac-ia-sudoku-csp.sln | 7 anos atrás |
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