Search found 6779 matches

by Uri Blass
Wed May 23, 2007 8:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: question about symmertic evaluation
Replies: 37
Views: 23794

Re: question about symmertic evaluation

The best thing that I can think about is something like this

Code: Select all

if (score>0)
			score+=4;
		else
			score+=3;
		return (score>>3);
I wonder if you have better idea how to make it symmetric for score=X and score=-X

Maybe there is a simple library function of division that is faster
by Uri Blass
Wed May 23, 2007 7:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: question about symmertic evaluation
Replies: 37
Views: 23794

question about symmertic evaluation

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 yo...
by Uri Blass
Wed May 23, 2007 6:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Had anyone tried EvalHashTable?
Replies: 15
Views: 11242

Re: Had anyone tried EvalHashTable?

Alaric have no evalhaash but maybe I will look at that when the evaluation is more loaded with stuff. Currently there is almost nothing... /Peter I do not believe it. With almost nothing in the evaluation it could not be a strong program. Maybe you are better than other people in doing the same thi...
by Uri Blass
Wed May 23, 2007 5:23 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Had anyone tried EvalHashTable?
Replies: 15
Views: 11242

Re: Had anyone tried EvalHashTable?

The main concern with an Eval Hash is that the evaluation takes a limited amount of time, and that you must make sure that the cost of the EvalHash probes is less than that time. Access to a RAM-based table (so one that does not fit in cache) takes 286 clocks on my (slow) Pentium-M machine, and is ...
by Uri Blass
Wed May 23, 2007 1:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Had anyone tried EvalHashTable?
Replies: 15
Views: 11242

Re: Had anyone tried EvalHashTable?

Almost every engine has large eval function.So why not store eval score into small HashTable which I called EvalHashTable? I do not think probe and store EvalHashTable will cost a lot of time, but EvalHash could avoid computering many many many boring codes. I already use evalhash table and I belie...
by Uri Blass
Wed May 23, 2007 7:29 am
Forum: Computer Chess Club: General Topics
Topic: Participants WCCC 2007
Replies: 108
Views: 51740

Re: Participants WCCC 2007

Seems micro-Max will finish in the top 10 at the next WCCC! :lol: :lol: :lol: Rank Program Country Hardware Title 0 Diep NLD 4 core AMD K8 2.4Ghz 0 IsiChess DEU 0 Jonny DEU Intel Core2Duo@3.4GHz, 1 GB RAM 0 micro-Max NLD 0 Rybka HUN 0 Shredder DEU 0 The Baron NLD You did not give a link but I found...
by Uri Blass
Tue May 22, 2007 4:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fen to fen functions
Replies: 12
Views: 8071

Re: fen to fen functions

Just a wild shot: void fen2fen( char * fen, char * buf ) { for( char * e = strchr(fen,' ') - 1; e >= fen; e-- ) { *buf++ = *e ^ (isalpha(*e) ? 0x20 : 0x00); } strcpy( buf, strchr(fen,' ') ); } If I understand correctly you try both to replace ...
by Uri Blass
Tue May 22, 2007 1:21 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fen to fen functions
Replies: 12
Views: 8071

Re: fen to fen functions

Hi Uri, SMIRF has such an edit option, but its source is not free. It changes [D]4k3/8/8/pppppppp/8/8/PPPPPPPP/4K3 w - - 0 1 to [D]4k3/pppppppp/8/8/PPPPPPPP/8/8/4K3 b - - 0 1 And this "switch positions" is working also for Chess960 and 10x8 CRC. Regards, Reinhard. Note that the function that I aske...
by Uri Blass
Tue May 22, 2007 9:14 am
Forum: Computer Chess Club: General Topics
Topic: Participants WCCC 2007
Replies: 108
Views: 51740

Re: Participants WCCC 2007

Seems micro-Max will finish in the top 10 at the next WCCC! :lol: :lol: :lol: Rank Program Country Hardware Title 0 Diep NLD 4 core AMD K8 2.4Ghz 0 IsiChess DEU 0 Jonny DEU Intel Core2Duo@3.4GHz, 1 GB RAM 0 micro-Max NLD 0 Rybka HUN 0 Shredder DEU 0 The Baron NLD I wonder why micromax plays Is it b...
by Uri Blass
Mon May 21, 2007 10:17 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fen to fen functions
Replies: 12
Views: 8071

fen to fen functions

I wonder if there is a free program with source that finds symmetric positions of a specific position. The program simply should get a fen and parameter (same side to move in case that there is no problem because of castling rights or different side to move) and return a symmetric fen Example: The p...