>>>LMR works even with randomly sorted move list.
Can you explain this ?
Surely it would not be very effective if for instance you reversed you ordering so that the best moves came last in the list ?
Disappointing LMR Results
Moderators: hgm, Dann Corbit, Harvey Williamson
-
Karlo Bala
- Posts: 373
- Joined: Wed Mar 22, 2006 10:17 am
- Location: Novi Sad, Serbia
- Full name: Karlo Balla
Re: Disappointing LMR Results
Two excellent explanations:lauriet wrote:>>>LMR works even with randomly sorted move list.
Can you explain this ?
Surely it would not be very effective if for instance you reversed you ordering so that the best moves came last in the list ?
http://www.talkchess.com/forum/viewtopi ... 04&t=35955
http://www.talkchess.com/forum/viewtopi ... 16&t=35955
Best Regards,
Karlo Balla Jr.
Karlo Balla Jr.
-
theturk1234
- Posts: 52
- Joined: Tue Jul 12, 2016 5:28 am
Re: Disappointing LMR Results
Ok, so you're saying that before anything else, try a zero-window search. Then if it fails high widen it. If that fails high, then try LMR?
It sounds like a lot of searching......
David
It sounds like a lot of searching......
David
-
jdart
- Posts: 4361
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
Re: Disappointing LMR Results
You are trying to resolve the fail-high with as few extra nodes as possible. Sometimes the zero-width full-depth search will do it. It is worth a try. Another refinement is to do the two-stage research only if the reduction was above a certain amount.
--Jon
--Jon
-
theturk1234
- Posts: 52
- Joined: Tue Jul 12, 2016 5:28 am
Re: Disappointing LMR Results
Ok, that sounds reasonable. If I get a fail high after the null window search, couldn't I just go straight into PVS because this could be a PV node?
-
Karlo Bala
- Posts: 373
- Joined: Wed Mar 22, 2006 10:17 am
- Location: Novi Sad, Serbia
- Full name: Karlo Balla
Re: Disappointing LMR Results
theturk1234 wrote:Ok, that sounds reasonable. If I get a fail high after the null window search, couldn't I just go straight into PVS because this could be a PV node?
Code: Select all
if (nodetype == PV)
{
if (movenum == 1)
v = search(-beta,-alpha,depth-1,...);
else
{
v = search(-(alpha+1),-alpha,depth-1-reduction,...);
if (v > alpha)
{
if (reduction > 0)
v = search(-(alpha+1),-alpha,depth-1,...);
if (v > alpha)
v = search(-beta,-alpha,depth-1,...);
}
}
}
else // here always stands alpha == beta-1
{
if (movenum == 1 || reduction == 0)
v = search(-beta,-alpha,depth-1,...);
else
{
v = search(-beta,-alpha,depth-1-reduction,...);
if (v > alpha) // v >= beta, same thing, alpha == beta-1
v = search(-beta,-alpha,depth-1,...);
}
}
Best Regards,
Karlo Balla Jr.
Karlo Balla Jr.