KyouyamaKazusa0805 / Sudoku

A sudoku solver using brute forces and logical techniques.
https://t.sudoku-studio.wiki
MIT License
114 stars 28 forks source link

Provide a real direct mode to analyze puzzles that influences the ordering of singles with lasting #715

Closed KyouyamaKazusa0805 closed 2 months ago

KyouyamaKazusa0805 commented 2 months ago

The main idea is to update the searching logic, to make lasting value become the factor of highest priority.

To measure the difficulty of a puzzle that only uses hidden singles and naked singles, is to judge lasting value of each step. Higher lasting values make the puzzle more difficult.

Therefore, adjust the rule to search steps with lasting 2 (full houses, hidden singles and naked singles), and then lasting 3, lasting 4, etc..