Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehjohn committed Mar 21, 2024
1 parent 70e018a commit 904ab5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ var puzzle = new int[81];

/*
This is most performant.
If you want the solution steps, select HistoryType.SolutionOnly.
If you want all the steps attempted, select HistoryType.AllSteps.
If you want to check the puzzle has only 1 solution, specify SolveMethod.FindUnique.
If you want a count of the number of solutions, specify SolveMethod.FindAll.
If you want:
- the solution steps, select HistoryType.SolutionOnly.
- all the steps attempted, select HistoryType.AllSteps.
- to check the puzzle has only 1 solution, specify SolveMethod.FindUnique.
- a count of the number of solutions, specify SolveMethod.FindAll.
*/

var solver = new Solver(HistoryType.None, SolveMethod.FindFirst);
Expand Down
10 changes: 5 additions & 5 deletions src/Sudoku/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ var puzzle = new int[81];

/*
This is most performant.
If you want the solution steps, select HistoryType.SolutionOnly.
If you want all the steps attempted, select HistoryType.AllSteps.
If you want to check the puzzle has only 1 solution, specify SolveMethod.FindUnique.
If you want a count of the number of solutions, specify SolveMethod.FindAll.
*/
If you want:
- the solution steps, select HistoryType.SolutionOnly.
- all the steps attempted, select HistoryType.AllSteps.
- to check the puzzle has only 1 solution, specify SolveMethod.FindUnique.
- a count of the number of solutions, specify SolveMethod.FindAll.*/

var solver = new Solver(HistoryType.None, SolveMethod.FindFirst);

Expand Down

0 comments on commit 904ab5f

Please sign in to comment.