- const bool RazorAtDepthOne = false;
- Depth RazorDepth = 4*OnePly;
- Value RazorMargin = Value(0x300);
+ const Depth RazorDepth = 4*OnePly;
+
+ // Remaining depth: 1 ply 1.5 ply 2 ply 2.5 ply 3 ply 3.5 ply
+ const Value RazorMargins[6] = { Value(0x180), Value(0x300), Value(0x300), Value(0x3C0), Value(0x3C0), Value(0x3C0) };
+
+ // Remaining depth: 1 ply 1.5 ply 2 ply 2.5 ply 3 ply 3.5 ply
+ const Value RazorApprMargins[6] = { Value(0x520), Value(0x300), Value(0x300), Value(0x300), Value(0x300), Value(0x300) };
+
+
+ /// Variables initialized from UCI options
+
+ // Minimum number of full depth (i.e. non-reduced) moves at PV and non-PV
+ // nodes
+ int LMRPVMoves, LMRNonPVMoves;
+
+ // Depth limit for use of dynamic threat detection
+ Depth ThreatDepth;