-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I think, if LMR>0, research should be if score > alpha without score < beta. Or I do not understand how it works :-).
score := -e.alphaBeta(depthLeft-1-LMR, searchHeight+1, -alpha-1, -alpha)
if score > alpha && (LMR>0||score < beta) {
...
}
Lines 745 to 751 in 72ff806
| score := -e.alphaBeta(depthLeft-1-LMR, searchHeight+1, -alpha-1, -alpha) | |
| e.pred.Pop() | |
| if score > alpha && score < beta { | |
| // research with window [alpha;beta] | |
| e.pred.Push(position.Hash()) | |
| e.innerLines[searchHeight+1].Recycle() | |
| score = -e.alphaBeta(depthLeft-1, searchHeight+1, -beta, -alpha) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels