Skip to content

Commit

Permalink
changed agressivness of late move reductions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stermere committed Jun 12, 2022
1 parent 387d09b commit 7daf36b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions board_search.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,12 +833,7 @@ float search_board(intLong* p1, intLong* p2, intLong* p1k, intLong* p2k, int pla
// if the node number is less than 4 then do a full search
// if the node number is greater than 4 then do a reduced search
if (depth_abs > 5 && node_num > 2){
if (node_num > 5){
depth -= 2;
}
else{
depth -= 1;
}
depth -= 1;
}


Expand Down Expand Up @@ -999,6 +994,7 @@ struct search_info* start_board_search(intLong p1, intLong p2, intLong p1k, intL
// if the eval is infinity the search is trying to end
if (eval_ == INFINITY){
terminate = 1;
evaler->search_depth = depth;
break;
}
depth = i;
Expand Down

0 comments on commit 7daf36b

Please sign in to comment.