summaryrefslogtreecommitdiff
path: root/src/chess.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chess.h')
-rwxr-xr-xsrc/chess.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/chess.h b/src/chess.h
index 245a3b0..abf802e 100755
--- a/src/chess.h
+++ b/src/chess.h
@@ -819,6 +819,10 @@ typedef struct _COUNTERS
UINT64 u64LazyEvals;
UINT64 u64FullEvals;
UINT64 u64CyclesInEval;
+ UINT64 u64HistoryPrunes;
+ UINT64 u64HistoryPruneReSearches;
+ UINT64 u64FutilityCandidates;
+ UINT64 u64FutilityPrunes;
}
tree;
@@ -928,6 +932,7 @@ typedef struct _PLY_INFO
#endif
SCORE iEval;
INT iExtensionAmount;
+ FLAG fIsPVNode; // (iBeta != iAlpha+1) at this ply
FLAG fInCheck;
FLAG fInQsearch;
MOVE mv;
@@ -2315,6 +2320,14 @@ ComputeMoveScore(IN SEARCHER_THREAD_CONTEXT *ctx,
FLAG
ThreadUnderTerminatingSplit(SEARCHER_THREAD_CONTEXT *);
+void
+InitializeLMRTable(void);
+
+INT
+ExtraReduction(IN ULONG uRemainingDepth,
+ IN ULONG uMoveNum,
+ IN ULONG uFailHighPct);
+
FLAG
WeShouldDoHistoryPruning(IN SCORE iRoughEval,
IN SCORE iAlpha,