Stockfish question
Stockfish question
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
But perhaps one of the programmers can tell me straight away
Ed
Re: Stockfish question
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
Re: Stockfish question
Apply following patch and compile.
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))
- Sean Evans
- Posts: 173
- Joined: Fri Jun 11, 2010 1:21 am
- Real Name: Sean Evans
Re: Stockfish question
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
Re: Stockfish question
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
Ed's question just demonstrates his laziness I would say...
Re: Stockfish question
Also my answerSentinel wrote:Ed's question just demonstrates his laziness I would say...
Re: Stockfish question
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
Re: Stockfish question
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
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 ?
Re: Stockfish question
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
Peter
Re: Stockfish question
Well, as nobody volunteered I had too I have an eng-eng match running now, SF 1.8 vs SF 1.8 (no LMR). Long time ago I did the stuff.mcostalba 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 ?
The normal SF typically hits 5-6 more plies than the no-LMR version on a time-control of 40/10. Nevertheless the first game looks bad for SF 1.8
We will see...
Ed