|
@@ -20,14 +20,18 @@ Run Rider, open solution, wait for package restore, click run (Shift + F10)
|
20
|
20
|
|
21
|
21
|
Configuration
|
22
|
22
|
-------------
|
23
|
|
-The program allows 3 optional arguments:
|
|
23
|
+The program allows 4 optional arguments:
|
24
|
24
|
- Generator type: The generator to use to create/load the sudoku. Possible values:
|
25
|
25
|
- '-' (default): Read from std input
|
26
|
26
|
- '0': Empty sudoku
|
27
|
27
|
- filename: load from the specified file
|
28
|
|
-- Next value chooser: The way to select next value to fill. Possible values:
|
|
28
|
+- Next cell chooser: The way to select next cell to fill. Possible values:
|
29
|
29
|
- 'mrv' (default): Use the Minimum remaining values strategy
|
|
30
|
+ - 'dh': Use the Degree heuristic strategy
|
30
|
31
|
- 'basic': Select the first blank value, from up to down and left to right
|
|
32
|
+- Next number chooser: The way to select next number to the next to test in the cell. Possible values:
|
|
33
|
+ - 'lcv' (default): Use Least constraining value strategy
|
|
34
|
+ - 'basic': Select numbers in ascending order
|
31
|
35
|
- Empty characters: The characters that should be considered as empty cell. Default value: '0 .'
|
32
|
36
|
|
33
|
37
|
Code
|