PSQT for move ordering ?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

MahmoudUthman
Posts: 234
Joined: Sat Jan 17, 2015 11:54 pm

PSQT for move ordering ?

Post by MahmoudUthman »

*Where can I find them ? & why isn't it used more , is it not worth it ?
elpapa
Posts: 211
Joined: Sun Jan 18, 2009 11:27 pm
Location: Sweden
Full name: Patrik Karlsson

Re: PSQT for move ordering ?

Post by elpapa »

MahmoudUthman wrote:Where can I find them
Well, you have to write the code. It's not something you find in a box in the garage.

Do you mean what values to use? I use the same tables as in the evaluation function.

psq[piecetype][to_sq] - psq[piecetype][from_sq]

That's it. I use it only for moves with no history score. Probably doesn't add much strength, if any.
MahmoudUthman
Posts: 234
Joined: Sat Jan 17, 2015 11:54 pm

Re: PSQT for move ordering ?

Post by MahmoudUthman »

elpapa wrote:
MahmoudUthman wrote:Where can I find them
Well, you have to write the code. It's not something you find in a box in the garage.

Do you mean what values to use? I use the same tables as in the evaluation function.

psq[piecetype][to_sq] - psq[piecetype][from_sq]

That's it. I use it only for moves with no history score. Probably doesn't add much strength, if any.
I meant values , & I thought they were supposed to be different :
http://www.top-5000.nl/authors/rebel/ch ... 20ORDERING
elpapa
Posts: 211
Joined: Sun Jan 18, 2009 11:27 pm
Location: Sweden
Full name: Patrik Karlsson

Re: PSQT for move ordering ?

Post by elpapa »

I don't know why they should be different. That example with the knight is pretty close to typical values for a normal psqt, I think.
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: PSQT for move ordering ?

Post by jdart »

Most of the move ordering methods I have tried (except history, which is standard) have been ELO losers, but your mileage may vary.

--Jon