Hi champagne:
Would you please modify the code to meet the requirements of sukaku. Now it can only handle low ER sukaku.
yzfwsf wrote:Hi champagne:
Would you please modify the code to meet the requirements of sukaku. Now it can only handle low ER sukaku.
champagne wrote:SKFR is based on a very old code and has been specifically designed to clone the original Sudoku Explainer used in the interactive game(even an older code). To give a relevant reply to your question, I have to understand what you are doing with skfr. This could come in a private message as well
yzfwsf wrote:and sometimes even crashes.
#define BFTAG_size 20
#define BFTAG_BitSize 20*32
Bitfield 640 bits used in chains and within a layer in the solver.
WARNING: using bit at position 0 implies error when using BFTAG::First
This bitfield uses 20 32bits unsigned int.
Size of this bitfield class can be changed by [the] 2 #define lines.
...
100000000007020000080000020400000000060000050000000200000800600005190003070000040
000000900000600008006090000001800000000050070240000090000060000600000000000000100 skfr: 0
000007000000000100000050000050020008000001900800900040000090000003004000000600300 skfr: 0
#define BFTAG_size 41 //yzf 2020/07/04 20-->41
#define BFTAG_BitSize 41*32
class BFTAG {
bm128 ff[11];//2020/07/04 yzf ff[5]-->ff[11]
yzfwsf wrote:Hi champagne:I use rateUnique to rate "Just One Cell" sudoku.Thank you so much.
Cause crash
- Code: Select all
100000000007020000080000020400000000060000050000000200000800600005190003070000040
Not rated:
- Code: Select all
000000900000600008006090000001800000000050070240000090000060000600000000000000100 skfr: 0
000007000000000100000050000050020008000001900800900040000090000003004000000600300 skfr: 0
[hidden][code]
1.3.5.7.91234567891234567891234567891.3.5.78.1.3.567891.34567..123.56789123456789..345.7.9123456..9.234567891234567.9123456789..345...9123456789.2345.7.912345.7891234567891..4.6..9.2.4.6.8912.456.89123456789.23456789123456.8.12345678912.4.678.12345678912.456.89.2.456.89123456789123456789..34567.9..34567.9.23...789123456789123.5678912...6...12.456.8912.45...91234567891.3456.891234.6.89123.5678912...6789123.5.78.12345678912345678912345.78912345678.1234567891234.6789..3....89123...7891.34567..12345678912345678912345678912345678.1.345678....456...1234567891...5678.12345678912.4.6.89.2.4.6.89.2.4...891234..78912345678912345678912345678912.456789123.567891234.6789.234.678912345.789123...78.123456789..345678..23.56789123456789
7 2421
4 2520
3 2592
5 2700
1 3016
2 3530
6 4772
9 4840
8 6204
I have modified two codes, which will not crash now, but still can't rate some sukaku.
isn't clear to me. Does the function take infinite time, or soon it returns rating of 20.0 which means "this puzzle is behind my capacity"?