mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +01:00
CuckooChess: Optimized reverse futility margins using CLOP. No significant change in playing strength though.
This commit is contained in:
parent
15fec82d90
commit
6194043af9
|
@ -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";
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user