| View previous topic :: View next topic |
| Author |
Message |
Uri Blass
Joined: 08 Mar 2006 Posts: 5954 Location: Tel-Aviv Israel
|
Post subject: Re: question about symmertic evaluation Posted: Sat May 26, 2007 9:29 pm |
|
|
| diep wrote: |
| Uri Blass wrote: |
I found that my evaluation is not symmetric for white and black.
one of the reason is that in some part of my evaluation I simply calculate score from white point of view and later divide by 8
now (14>>3)=1 and (-14>>3)=-2 so I can get a different number
for white and black.
My question is how do you solve that type of problem and if there is a way to solve it without doing the code slower(of course it is easy to solve it by doing the code slower and writing something like
if (score<0)
{
score=-score;
score=score>>3;
score=-score;
}
else
score=score>>3;
I thought also about using (score+4)>>3 but in that case (12+4)>>3=2
when (-12+4)>>3=-1
Uri |
Uri, which medicines are you using nowadays?
I really have no clue what you are talking about.
Can you explain what the problem is?
Thanks,
Vincent |
see post number 4 in page 1.
It was about some code that I have to prefer pawns in the endgame.
The problem was already solved after the post of Bob hyatt when he suggested to use / instead of >>.
Uri |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
question about symmertic evaluation |
Uri Blass |
Wed May 23, 2007 7:53 pm |
Re: question about symmertic evaluation |
Uri Blass |
Wed May 23, 2007 8:45 pm |
Re: question about symmertic evaluation |
Gerd Isenberg |
Wed May 23, 2007 8:46 pm |
Re: question about symmertic evaluation |
Uri Blass |
Wed May 23, 2007 9:04 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Wed May 23, 2007 9:51 pm |
Re: question about symmertic evaluation |
Uri Blass |
Wed May 23, 2007 10:04 pm |
Re: question about symmertic evaluation |
Gerd Isenberg |
Wed May 23, 2007 10:09 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Thu May 24, 2007 12:01 am |
Re: question about symmertic evaluation |
Gerd Isenberg |
Thu May 24, 2007 7:37 am |
Re: question about symmertic evaluation |
H.G.Muller |
Thu May 24, 2007 8:06 am |
Re: question about symmertic evaluation |
Gerd Isenberg |
Thu May 24, 2007 9:24 am |
Re: question about symmertic evaluation |
H.G.Muller |
Thu May 24, 2007 10:39 am |
Re: question about symmertic evaluation |
Gerd Isenberg |
Thu May 24, 2007 11:36 am |
Re: question about symmertic evaluation |
H.G.Muller |
Thu May 24, 2007 11:55 am |
Re: question about symmertic evaluation |
Gerd Isenberg |
Thu May 24, 2007 7:46 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Thu May 24, 2007 8:18 pm |
Re: question about symmertic evaluation |
Gerd Isenberg |
Thu May 24, 2007 8:55 pm |
Re: question about symmertic evaluation |
Uri Blass |
Fri May 25, 2007 10:44 am |
Re: question about symmertic evaluation |
Gerd Isenberg |
Fri May 25, 2007 6:28 pm |
Re: question about symmertic evaluation |
Uri Blass |
Fri May 25, 2007 7:42 pm |
Re: question about symmertic evaluation |
Gerd Isenberg |
Fri May 25, 2007 8:00 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Thu May 24, 2007 8:13 pm |
Re: question about symmertic evaluation |
Gerd Isenberg |
Thu May 24, 2007 8:33 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Sat May 26, 2007 1:05 am |
Re: question about symmertic evaluation |
Gerd Isenberg |
Sat May 26, 2007 7:18 am |
Re: question about symmertic evaluation |
Robert Hyatt |
Sat May 26, 2007 5:08 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Sat May 26, 2007 5:25 pm |
Re: question about symmertic evaluation |
Gerd Isenberg |
Sat May 26, 2007 6:23 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Sun May 27, 2007 2:48 pm |
Re: question about symmertic evaluation |
Steven Edwards |
Thu May 24, 2007 3:42 am |
Re: question about symmertic evaluation |
Robert Hyatt |
Thu May 24, 2007 8:20 pm |
Re: question about symmertic evaluation |
Robert Hyatt |
Wed May 23, 2007 9:50 pm |
Re: question about symmertic evaluation |
William H. Rogers |
Fri May 25, 2007 7:48 pm |
Re: question about symmertic evaluation |
Uri Blass |
Sat May 26, 2007 11:38 am |
Re: question about symmertic evaluation |
H.G.Muller |
Sat May 26, 2007 2:07 pm |
Re: question about symmertic evaluation |
Vincent Diepeveen |
Sat May 26, 2007 7:27 pm |
Re: question about symmertic evaluation |
Gerd Isenberg |
Sat May 26, 2007 8:20 pm |
Re: question about symmertic evaluation |
Uri Blass |
Sat May 26, 2007 9:29 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|