removed git markers | bench 24146828
This commit is contained in:
1 parent
21148655dd
commit
0e88db9b4c
1 file changed
-13
@@ -45,11 +45,7 @@ int16_t ContHistory::GetTwoPly(Board& board, Move& move, SearchContext* ctx, int
|
|||||||
static int ScoreMove(Board &board, Move &move, int ply, SearchContext* ctx) {
|
static int ScoreMove(Board &board, Move &move, int ply, SearchContext* ctx) {
|
||||||
TTEntry *current = ctx->TT.GetRawEntry(board.hashKey);
|
TTEntry *current = ctx->TT.GetRawEntry(board.hashKey);
|
||||||
if (current->hashKey == board.hashKey && current->bestMove == move) {
|
if (current->hashKey == board.hashKey && current->bestMove == move) {
|
||||||
<<<<<<< HEAD
|
|
||||||
return 100000;
|
return 100000;
|
||||||
=======
|
|
||||||
return 1000000;
|
|
||||||
>>>>>>> 2a9d1c1 (fixed move scores | bench 2451113)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (move.IsCapture()) {
|
if (move.IsCapture()) {
|
||||||
@@ -60,21 +56,12 @@ static int ScoreMove(Board &board, Move &move, int ply, SearchContext* ctx) {
|
|||||||
targetType = Pawn;
|
targetType = Pawn;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
return 50000 * ((SEE(board, move, -100))) + (100 * targetType - attackerType + 105);
|
return 50000 * ((SEE(board, move, -100))) + (100 * targetType - attackerType + 105);
|
||||||
} else {
|
} else {
|
||||||
if (ctx->killerMoves[0][ply] == move) {
|
if (ctx->killerMoves[0][ply] == move) {
|
||||||
return 41000;
|
return 41000;
|
||||||
} else if (ctx->killerMoves[1][ply] == move) {
|
} else if (ctx->killerMoves[1][ply] == move) {
|
||||||
return 40000;
|
return 40000;
|
||||||
=======
|
|
||||||
return 500000 * ((SEE(board, move, -100))) + moveScoreTable[attackerType][targetType];
|
|
||||||
} else {
|
|
||||||
if (ctx->killerMoves[0][ply] == move) {
|
|
||||||
return 410000;
|
|
||||||
} else if (ctx->killerMoves[1][ply] == move) {
|
|
||||||
return 400000;
|
|
||||||
>>>>>>> 2a9d1c1 (fixed move scores | bench 2451113)
|
|
||||||
} else {
|
} else {
|
||||||
int historyScore = ctx->history[board.sideToMove][move.MoveFrom()][move.MoveTo()];
|
int historyScore = ctx->history[board.sideToMove][move.MoveFrom()][move.MoveTo()];
|
||||||
int conthistScore = 0;
|
int conthistScore = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user