CuckooChess: Optimized reverse futility margins using CLOP. No significant change in playing strength though.

This commit is contained in:
Peter Osterlund 2011-12-04 08:11:13 +00:00
parent 15fec82d90
commit 6194043af9
2 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ public class ComputerPlayer implements Player {
public static final String engineName;
static {
String name = "CuckooChess 1.13a5";
String name = "CuckooChess 1.13a6";
String m = System.getProperty("sun.arch.data.model");
if ("32".equals(m))
name += " 32-bit";

View File

@ -557,10 +557,10 @@ public class Search {
if (!inCheck && (depth < 5*plyScale) && (posExtend == 0)) {
if ((Math.abs(alpha) <= MATE0 / 2) && (Math.abs(beta) <= MATE0 / 2)) {
int margin;
if (depth <= plyScale) margin = 200;
else if (depth <= 2*plyScale) margin = 400;
else if (depth <= 3*plyScale) margin = 600;
else margin = 800;
if (depth <= plyScale) margin = 204;
else if (depth <= 2*plyScale) margin = 420;
else if (depth <= 3*plyScale) margin = 533;
else margin = 788;
if (evalScore == UNKNOWN_SCORE)
evalScore = eval.evalPos(pos);
if (evalScore - margin >= beta) {