A few years back I tried LMP in RomiChess iirc P3a. That version is the only version that ever won a WBEC test tournament. And it did it with a perfect score of 18-0! When I changed the LMR to 2 I gave up on LMP as a LMR of 2 was just as efficient with out as much risk. You BTW, participated in that discussion. LMP was also used in Glaurung 2.x! I have not looked to see if it is retained in Stockfish.Uri Blass wrote:The idea is the following:
Every time that LMR conditions happen you do not change the depth but increase pruning variable by 1 when the pruning variable is simply the number of times when LMR conditions happened during the path(of course you need to reduce it when you take back the last move).
If the pruning variable is bigger or equal to the remaining depth
then you decide if to prune or not to prune based on evaluation or based on result of the qsearch.
Uri
Did people try replacing LMR by pruning
Moderators: hgm, Harvey Williamson, bob
Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
-
Michael Sherwin
- Posts: 2799
- Joined: Fri May 26, 2006 1:00 am
- Location: OH, USA
Re: Did people try replacing LMR by pruning
Regards,
Mike
Mike
Re: Did people try replacing LMR by pruning
Stockfish 1.6:
Code: Select all
// Move count based pruning
if ( moveCount >= FutilityMoveCountMargin
&& ok_to_prune(pos, move, ss[ply].threatMove)
&& bestValue > value_mated_in(PLY_MAX))
continue;-
Michael Sherwin
- Posts: 2799
- Joined: Fri May 26, 2006 1:00 am
- Location: OH, USA
Re: Did people try replacing LMR by pruning
I am glad to see that the idea survives!metax wrote:Stockfish 1.6:
Code: Select all
// Move count based pruning if ( moveCount >= FutilityMoveCountMargin && ok_to_prune(pos, move, ss[ply].threatMove) && bestValue > value_mated_in(PLY_MAX)) continue;
Regards,
Mike
Mike
-
jdart
- Posts: 3503
- Joined: Fri Mar 10, 2006 4:23 am
- Location: http://www.arasanchess.org
Re: Did people try replacing LMR by pruning
Toga used this general idea also - that was the first place I remember seeing it. But I have not found it useful, myself.
--Jon
--Jon
-
Michael Sherwin
- Posts: 2799
- Joined: Fri May 26, 2006 1:00 am
- Location: OH, USA
Re: Did people try replacing LMR by pruning
I believe that my testing of it and posting about it precedes its use in Toga!jdart wrote:Toga used this general idea also - that was the first place I remember seeing it. But I have not found it useful, myself.
--Jon
Regards,
Mike
Mike