history riddles

Discussion of chess software programming and technical issues.

Moderator: Ras

ericlangedijk
Posts: 40
Joined: Thu Aug 08, 2013 5:13 pm

history riddles

Post by ericlangedijk »

I am trying to improve move ordering with bonus / malus for quiethistory, capturehistory and continuation history.
Currently i have score arrays like this:
quiethistory: [piece][from][to]
capturehistory: [piece][to][capturedpiece]
continuationhistory: [prevpiece][to][piece][to] a simple pair of moves.

Now I am confused about what to do when. We have 4 types of moves in the search:
1) the best move
2) moves that were pruned (LMP) so not really seen by the search.
3) moves *before* the move that triggers a beta cutoff
4) moves that did not raise alpha

How and where do we reward and punish which moves?
My older system just rewarded quiet betacutoff moves and punished the moves before that.