hgm wrote:
...
But it is in general true that part of the positions in the table become unreachable by a move in the root. Then, if you are not doing analysis (in which you also take back moves) but are playing a game, these are useless.
People handle this by including an 'age field' in the TT entire. E.g. you can increment a counter for each search you start from the root, and store that in any entry you successfully access (probe hit or write). Then when you hit upon entries with an age field much lower than the current search number, they are likely to be useless, and you can preferentially overwrite those.
Nevertheless after near each new engine version it becomes less significative, I still use random in the order of studying moves. This allows the engine to not start always in the same way even no having any openbook.
This is making choicing by random the number ID of each piece and the number ID of each movement of each piece. At equal move ordering level, I allways start from piece of low number ID and lower move ID out of all of that move ordering level, but them are not always the same. I take a new random values each time is Soberango turn to move.
1st point: if I want to use TT entries from previous turns (hgm saids: "...when you hit upon entries with an age field
much lower than the current search number, they are likely to be useless..." ) not just "lower", I need to not use that random at least till a pawn move or a capture, when all TT entries become useless.
I´m correct? I mean, kept the previous turns TT entries is important part of have TTs, I´m right? Not just the actual searching results stored in TT are important?
EDIT: I think I have a not too much time consuming way to kept random and previous turn TT entries but the questions are still important for me.
2nd point: about that "much lower" I thought in a way to define how much is much enough to know a TT entrie is useless without no doubts. I just need two bytes for age entry, one for pawns positions and other for number of pieces. Is this limit too high? How much is "much lower" a good parameter?
Thanks!