Maybe I misunderstood.Sven Schüle wrote:The question, as well as the discussion we already had about it, was how to react on a ponderhit. It seems you are talking about how you start pondering.bob wrote:I do what you suggest in Crafty. But it is not clear that it makes that much difference. Ostensibly, if I search to depth 20 and make a move, and start pondering, I predict the second move in the PV, so the resulting position should be able to use all the hash entries (if they were not overwritten) to quickly complete depth 18 (which I had really already completed since I did 20, played a move and assumed a move).Chang wrote:Hi,
In pondering mode, while human player thinking, the program starts pondering by making a guessing move, let’s say move X, then going deeper in iteration starting from depth 1. Suppose a situation, after finishing depth 10 while going through depth 11, human player input move X. My question is, on its turn to move, should the program start calculating at depth 1 as usual or depth 10 in stead?
Thanks for any advices.
Best regards,
Teerapong
I start at 19 in Crafty, just because it seems like the right thing to do. And it helps on infrequent occasions, and can rarely hurt, so...
Sven
When I start any search, I set a target time, and a max time. When I start pondering, so long as I am pondering, the time-out test is not done. Once I get a move, if it matches, I now start to do the normal time-out testing, as though I was not pondering at all. That is, if my target is 60 seconds, and you think for 5 minutes and then make the predicted move, at that instant I say "whoa, I have used 5 minutes of thinking, move NOW." If I have used less than 60 seconds, I compute until 60 seconds are gone, and move, unless the usual fail-low time extension gets triggered. The goal is to accumulate extra time.
