mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 09:39:36 +00:00
parent
b48439e906
commit
d06a8d0c18
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ namespace {
|
||||||
const int skipPhase[] = { 0, 1, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 7 };
|
const int skipPhase[] = { 0, 1, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 7 };
|
||||||
|
|
||||||
// Razoring and futility margin based on depth
|
// Razoring and futility margin based on depth
|
||||||
const int razor_margin[4] = { 483, 570, 603, 554 };
|
// razor_margin[0] is unused as long as depth >= ONE_PLY in search
|
||||||
|
const int razor_margin[] = { 0, 570, 603, 554 };
|
||||||
Value futility_margin(Depth d) { return Value(150 * d / ONE_PLY); }
|
Value futility_margin(Depth d) { return Value(150 * d / ONE_PLY); }
|
||||||
|
|
||||||
// Futility and reductions lookup tables, initialized at startup
|
// Futility and reductions lookup tables, initialized at startup
|
||||||
|
|
Loading…
Add table
Reference in a new issue