Hash move and move ordering

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Daniel Anulliero
Posts: 759
Joined: Fri Jan 04, 2013 4:55 pm
Location: Nice

Hash move and move ordering

Post by Daniel Anulliero »

Hi all
I know it's good to take the hash move in the move ordering .So there is 3 sort of moves in the table right ?:
**Bests moves with Hash EXACT" ,
**cut moves with hash beta
** alpha moves with hash alpha .
There is also :
**the mate moves (value = -MATE + ply)
** draw moves (0) .
I think I can take move ordering : Bests moves , alpha moves , mate and draw moves , right?
Or I think something wrong?
Thank you for your advices
Isa download :
User avatar
hgm
Posts: 27796
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Hash move and move ordering

Post by hgm »

For any position there is only one hash move, and it is what it is. So I am not sure what you want to order.
Aleks Peshkov
Posts: 892
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia

Re: Hash move and move ordering

Post by Aleks Peshkov »

It is possible to store lower- and upper- bound score with their respective depths (exact score is both upper and lower bounds) of the same position, but the hash move should be only one (or sometimes none).