Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Value of King in SEE

Author: Severi Salminen

Date: 07:50:34 01/07/02

Go up one level in this thread


>In my program in general, the king has a value of 0, as the kings value has
>never been used for anything before. For SEE, the value has to be used, however.
>To be safe, I would really want to give my king the value of 9 queens plus the
>value 2 knights, bishops and rooks, but then the value of a position with these
>pieces, and only one king on the opposing side will be to big to hold in my
>current Score type, as I am only willing to spend so many bits of scores, so it
>doesn't use up to much space in a hashentry. Actually, writing this, I will
>think out loud that there will always be two kings on the board, and as such,
>the values of the kings will balance out, which means it doesn't matter. Instead
>of not sending this post, I will send it anyway, as a windows into my idiotic
>brain.

Of course in most of the cases, you don't need to worry about 9 queens getting
involved in the same SEE calculation, but my king value is big and I use 32-bit
ints to store the score so that's not a problem for me. But I think the values
won't balance out (unless you meant material score, or something) in SEE
calculations. Are you storing the SEE score in hashtable?? I believe SEE score
should be used only to sort the moves, and nothing more. I think you are tired,
or then I'm _very_ tired ;) Or are you using the same king value for calculating
material balance? Then you are right: the values will of course balance out. But
overall, in material calculation, you can just skip kings, right?

Severi



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.