Robin Thoni 25d9f527f3 renamed INextValueCHooser | hace 7 años | |
---|---|---|
.idea/.idea.uqac-ia-sudoku-csp | hace 7 años | |
sample | hace 7 años | |
uqac-ia-sudoku-csp | hace 7 años | |
.gitignore | hace 7 años | |
AUTHORS | hace 7 años | |
README.md | hace 7 años | |
uqac-ia-sudoku-csp.sln | hace 7 años |
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