mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Rejoin lines that belong to HalfDensity map (#952)
No functional change.
This commit is contained in:
@@ -153,11 +153,11 @@ namespace {
|
|||||||
{1, 0, 0, 0, 0, 1, 1 ,1},
|
{1, 0, 0, 0, 0, 1, 1 ,1},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const size_t HalfDensitySize = std::extent<decltype(HalfDensity)>::value;
|
||||||
|
|
||||||
Value bonus(Depth depth) { int d = depth / ONE_PLY ; return Value(d * d + 2 * d - 2); }
|
Value bonus(Depth depth) { int d = depth / ONE_PLY ; return Value(d * d + 2 * d - 2); }
|
||||||
Value penalty(Depth depth) { int d = depth / ONE_PLY ; return -Value(d * d + 4 * d + 1); }
|
Value penalty(Depth depth) { int d = depth / ONE_PLY ; return -Value(d * d + 4 * d + 1); }
|
||||||
|
|
||||||
const size_t HalfDensitySize = std::extent<decltype(HalfDensity)>::value;
|
|
||||||
|
|
||||||
EasyMoveManager EasyMove;
|
EasyMoveManager EasyMove;
|
||||||
Value DrawValue[COLOR_NB];
|
Value DrawValue[COLOR_NB];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user