The Countermove Heuristic was introduced by Jos Uiterwijk in 1992, which shows some similarities with the killer-, refutation- and history heuristic[1] . This heuristic assumes that many moves have a "natural" response, irrespective of the actual position, and is easy to implement either with a 64 * 64 butterfly table or alternatively a more memory friendly 6 * 64 array for each side to move, indexed by [from][to] or by [piece][to][2] of the previous move, containing the counter move. The nature of the countermove heuristic renders it complementary to the killer heuristic, substituting position with same distance to the root with the last move played.
Update
This is how the counter move array is updated, if a beta-cutoff occurs:
Table of Contents
The Countermove Heuristic was introduced by Jos Uiterwijk in 1992, which shows some similarities with the killer-, refutation- and history heuristic [1] . This heuristic assumes that many moves have a "natural" response, irrespective of the actual position, and is easy to implement either with a 64 * 64 butterfly table or alternatively a more memory friendly 6 * 64 array for each side to move, indexed by [from][to] or by [piece][to] [2] of the previous move, containing the counter move. The nature of the countermove heuristic renders it complementary to the killer heuristic, substituting position with same distance to the root with the last move played.
Update
This is how the counter move array is updated, if a beta-cutoff occurs:Move Score
While assigning scores to moves for move ordering, a bonus is earned for the move which matches the countermove of the last move played:Butterfly Moves
Independently of Uiterwijk's work, Dap Hartmann and Peter Kouwenhoven reported on the similar technique of Butterfly board moves at Advances in Computer Chess 6, London 1990, being different from the Butterfly heuristic [3] . Their aim was to safe move generation by proving only legality of a butterfly move. If both transposition- and killer table fail to supply a move, then 1 in 5 times the butterfly board was able to supply a legal killer which saved the complete move generation [4] .See also
Publications
Forum Posts
Re: History pruning / move ordering question by Joona Kiiski, CCC, May 12, 2013
References
What links here?
Up one Level