From 6194043af920c5f1cced81be06e525369d5ba972 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 4 Dec 2011 08:11:13 +0000 Subject: [PATCH] CuckooChess: Optimized reverse futility margins using CLOP. No significant change in playing strength though. --- CuckooChessEngine/src/chess/ComputerPlayer.java | 2 +- CuckooChessEngine/src/chess/Search.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CuckooChessEngine/src/chess/ComputerPlayer.java b/CuckooChessEngine/src/chess/ComputerPlayer.java index 3a177b2..cdc7533 100644 --- a/CuckooChessEngine/src/chess/ComputerPlayer.java +++ b/CuckooChessEngine/src/chess/ComputerPlayer.java @@ -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"; diff --git a/CuckooChessEngine/src/chess/Search.java b/CuckooChessEngine/src/chess/Search.java index 77dbe63..cd08c40 100644 --- a/CuckooChessEngine/src/chess/Search.java +++ b/CuckooChessEngine/src/chess/Search.java @@ -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) {