PSQT for move ordering ?

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
MahmoudUthman
Posts: 234
Joined: Sat Jan 17, 2015 10:54 pm

PSQT for move ordering ?

Post by MahmoudUthman » Thu Mar 23, 2017 9:37 pm

*Where can I find them ? & why isn't it used more , is it not worth it ?

elpapa
Posts: 203
Joined: Sun Jan 18, 2009 10:27 pm
Location: Sweden
Full name: Patrik Karlsson

Re: PSQT for move ordering ?

Post by elpapa » Thu Mar 23, 2017 11:15 pm

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 10:54 pm

Re: PSQT for move ordering ?

Post by MahmoudUthman » Thu Mar 23, 2017 11:18 pm

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: 203
Joined: Sun Jan 18, 2009 10:27 pm
Location: Sweden
Full name: Patrik Karlsson

Re: PSQT for move ordering ?

Post by elpapa » Thu Mar 23, 2017 11:25 pm

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: 3935
Joined: Fri Mar 10, 2006 4:23 am
Location: http://www.arasanchess.org

Re: PSQT for move ordering ?

Post by jdart » Fri Mar 24, 2017 10:15 pm

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

--Jon

Post Reply