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...when retrieving).
(especially on the next search(not iteration),or when analyzing and
move and remove...)
So i just switched of storing mates to trans and looked what happend.
Then somehow a similar thing with repetition, but how to know if a
parent-node gets a repetition draw,and that this value is not a "evaluation score".(nothing to switch off in this case
so finally my question, is there a standard way to handle things like this ?
i have had a look at cpw-engine(nice) , and there before storing any
values to trans, of course the tt_flg is set, but flags arent set for mate values ?! (any reasons? and the typically handling of checking the bound-
like alpha>=beta -> alpha=beta, also isnt done for mate scores?!)
I would be happy if someone could give me a short instruction to this.


