Skip to content

Commit

Permalink
Deactivate mate distance pruning for higher stability. Version 0.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyan11 committed Oct 30, 2015
1 parent 4004464 commit 2d8cf1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ int PVS(Board &b, int depth, int alpha, int beta, SearchPV *pvLine) {


// Mate distance pruning
/*
int matingScore = MATE_SCORE - searchParams.ply;
if (matingScore < beta) {
beta = matingScore;
Expand All @@ -360,6 +361,7 @@ int PVS(Board &b, int depth, int alpha, int beta, SearchPV *pvLine) {
if (beta <= matedScore)
return beta;
}
*/


int prevAlpha = alpha;
Expand Down
2 changes: 1 addition & 1 deletion uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int main() {
string input;
vector<string> inputVector;
string name = "Laser";
string version = "0.3 beta";
string version = "0.2.1";
string author = "Jeffrey An and Michael An";
thread searchThread;
Move bestMove = NULL_MOVE;
Expand Down

0 comments on commit 2d8cf1b

Please sign in to comment.