Internal Iterative Deepening

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: Internal Iterative Deepening

Post by Zach Wegner »

Harald Johnsen wrote:It's not wrong, but in his first post he is talking about reducing by two and there is three in the code ;)
Hehe, didn't catch that.

I suppose the mistake comes from the null move reduction, depth - R - 1. There the reduction is in addition to the -1, because we are searching a subtree (after the null move), whereas here we are searching the same tree.
AndrewShort

Re: Internal Iterative Deepening

Post by AndrewShort »

Zach Wegner wrote:
Harald Johnsen wrote:It's not wrong, but in his first post he is talking about reducing by two and there is three in the code ;)
Hehe, didn't catch that.

I suppose the mistake comes from the null move reduction, depth - R - 1. There the reduction is in addition to the -1, because we are searching a subtree (after the null move), whereas here we are searching the same tree.
exactly. the problem was due to copy/paste. I should not have doing negamax at all, since I haven't done a move (or null move) that changes turns...