But perhaps one of the programmers can tell me straight away

Ed
Suppose you could edit it yourself and recompile without LMR. But other than that, I don't think so.Rebel wrote:Is there an option to totally exclude LMR in Stockfish? I want to measure the elo gain of LMR.
But perhaps one of the programmers can tell me straight away![]()
Ed
Code: Select all
--- a/src/search.cpp
+++ b/src/search.cpp
@@ -882,7 +882,7 @@ namespace {
// if the move fails high will be re-searched at full depth
bool doFullDepthSearch = true;
- if ( depth >= 3 * OnePly
+ if ( false && depth >= 3 * OnePly
&& !dangerous
&& !captureOrPromotion
&& !move_is_castle(move))
@@ -1351,7 +1351,7 @@ namespace {
// If the move fails high will be re-searched at full depth.
bool doFullDepthSearch = true;
- if ( depth >= 3 * OnePly
+ if ( false && depth >= 3 * OnePly
&& !captureOrPromotion
&& !dangerous
&& !move_is_castle(move)
@@ -1728,7 +1728,7 @@ namespace {
// If the move fails high will be re-searched at full depth.
bool doFullDepthSearch = true;
- if ( !captureOrPromotion
+ if ( false && !captureOrPromotion
&& !dangerous
&& !move_is_castle(move)
&& !move_is_killer(move, ss))
And you are 12-years old Peter? Ed has been a programmer three times longer than you have been alivePeter C wrote:Suppose you could edit it yourself and recompile without LMR. But other than that, I don't think so.Rebel wrote:Is there an option to totally exclude LMR in Stockfish? I want to measure the elo gain of LMR.
But perhaps one of the programmers can tell me straight away![]()
Ed
Peter
As Marco shown LMR condition appears in only 3 lines in search.cpp. Finding them, even if you are unfamiliar with Stockfish code takes about 1 minute (supposing you have some chess programming experience, which is more than true in Ed's case).Sean Evans wrote:And you are 12-years old Peter? Ed has been a programmer three times longer than you have been alive
Also my answerSentinel wrote:Ed's question just demonstrates his laziness I would say...
Exactly!Sentinel wrote: Ed's question just demonstrates his laziness I would say...
Sure ! As long as that 'someone' is not meRebel wrote:Exactly!Sentinel wrote: Ed's question just demonstrates his laziness I would say...![]()
And going one step further, would someone do it for me?
Seriously, I don't have MSVC and don't want to go through that. I exclusively have used the "Digital Mars" compiler in the past and that one is not compatible with MSVC and/or GCC source code.
Ed
Ahem. 13.Sean Evans wrote:And you are 12-years old Peter? Ed has been a programmer three times longer than you have been alivePeter C wrote:Suppose you could edit it yourself and recompile without LMR. But other than that, I don't think so.Rebel wrote:Is there an option to totally exclude LMR in Stockfish? I want to measure the elo gain of LMR.
But perhaps one of the programmers can tell me straight away![]()
Ed
Peter
Well, as nobody volunteered I had toomcostalba wrote: BTW you'd certanly know that you can download and setup MSVC 2010 Express version for free and in less then half an hour, do you ?