Search found 634 matches

by Desperado
Fri Apr 17, 2009 8:33 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Where to generate Attack Tables
Replies: 22
Views: 4112

Re: Where to generate Attack Tables

Hi, i am also very confused about attack-tables because of the following points. 1. i am not sure if you are talking about board-controls or just attacked pieces, also not sure about "flagging" or "counting". 2. once i played around with incremental updates (board controls counting), and if i rememb...
by Desperado
Wed Apr 01, 2009 10:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: LMR revisited.
Replies: 45
Views: 9094

Re: LMR revisited.

this is the way i tested it (hope the pseudocode is good enough) search() { ... bool use_lmr = false; if(ntyp == NODE_ALL && rdp>2 && !ick && cdp>3) { //test "best" move known for alpha bound if(tt_mve!=movenone) { ndp = newdepth(tid,brd,lmove,tt_mve,rdp,cdp,ic...
by Desperado
Wed Apr 01, 2009 9:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: LMR revisited.
Replies: 45
Views: 9094

Re: LMR revisited.

hi, just a few weeks ago i tried something like this. Instead of using a "blind" LMR implementation(doesnt matter in what way you use LMR), i started a shallow search on Allnodes before looping the movelist. When the score really stayed <=alpha i used very aggressive LMR-prunning(not to say i immedi...
by Desperado
Wed Apr 01, 2009 9:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: TTable & how to handle mate,stalemate,repetition values
Replies: 18
Views: 2531

TTable & how to handle mate,stalemate,repetition values

Hi, maybe a very simple question, but it isabsolutley confusing me. I am using a fail-hard framework.(just beside). I am not sure how to handle mate values, or repetition values in my transposition table. In some situations there are some incorrect mate announcements. (ex: mate in 5 instead of 2...w...
by Desperado
Tue Mar 17, 2009 7:21 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: C++ classes for enumeration scalars

1. Using class-keyword is just a (elegant,propper,legal) workaround solution in the end. Because a global constant definition should work simple by its definition itself, like all other shared data. But it works and may satisfiy. 2. it is simply not possible with "basics"(just definition and declara...
by Desperado
Tue Mar 17, 2009 1:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: C++ classes for enumeration scalars

2. Put static const variables in bitboard.hpp: The relatively best solution. But puts instances of the constants in every module, so wastes memory. This is the solution i use now... Nice to see, that last but not least it is not so trivial as some of you mentioned at the beginning of the thread.(as...
by Desperado
Sun Mar 15, 2009 11:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Extensions: everywhere or near the tips?
Replies: 12
Views: 2913

Re: Extensions: everywhere or near the tips?

Hi Alvaro, i thought about this several times.And it seemed to me a logical approach. But practise showed me that the search-behaviour may become totally different for forced lines. (i think you mean rdepth<4...,near the horizon) i had to search a mate in 7(14 plies). The line was including silent m...
by Desperado
Sun Mar 15, 2009 2:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

First of all: my "english-power" is not so good, so it is absolutely possible that i dont use the right expression in some cases which may lead to misunderstandings.(like compiler state...). if anyone of you gets the impression, that there is such a situation,pls ask once, before we discuss, only be...
by Desperado
Sat Mar 14, 2009 9:19 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

thx for all replies, nxt topic will be more chess-programming topic :-)...