| View previous topic :: View next topic |
| Author |
Message |
Alessandro Scotti Guest
|
Post subject: Re: Hamsters randomizer in action Posted: Tue Jun 05, 2007 10:47 am |
|
|
| hgm wrote: |
| Alessandro Scotti wrote: |
| Another tool I'm planning to use is a chess tree browser. I have missed one several times in the past and maybe now it's time to get one. |
In order to scrutinize a tree, the only fool-proof way I found was rerun the search from scratch for each node that you want to examine.
So basically you should clear the hash table before each search (or restore it to a known state), and then give the path of moves leading to the node you want to examine. In Search() you cab then print out any information you want (controlled by the setting of debug flags) if the actual path to it matches the requested one. E.g. print an overview of moves, and their search scores.
You can then step by step add plies to the path, for those moves that you think have an incorrect score. At some point the only thing the selected node prints is that it had a sufficient-draft hash hit. In that case you remember the entry and signature. When doing the re-search, you then use this (entry, signature) to set a kind of break point, that prints the path for you when there is a replacement in the entry with that signature.
That is really all that is needed: a test if you are in the node you are interested in, based on path or on the hash probe. and some output under the condition that there is a match. |
Well what I want to do is to dump the entire search tree to disk and then browse it with a (simple) user interface. This will be integrated into the engine so I can invoke evaluation, search, etc. from any position. It will also help setting those "path breakpoints" if needed.
Besides debugging, I'm having a really hard time visualizing how a search works, so I expect this tool will help me on this too. |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Hamsters randomizer in action |
Alessandro Scotti |
Sun Jun 03, 2007 7:24 pm |
Re: Hamsters randomizer in action |
Gerd Isenberg |
Sun Jun 03, 2007 8:25 pm |
Re: Hamsters randomizer in action |
Alessandro Scotti |
Sun Jun 03, 2007 8:33 pm |
Re: Hamsters randomizer in action |
Gerd Isenberg |
Sun Jun 03, 2007 8:43 pm |
Re: Hamsters randomizer in action |
Michael Sherwin |
Mon Jun 04, 2007 2:04 am |
Re: Hamsters randomizer in action |
Pradu Kannan |
Mon Jun 04, 2007 2:33 am |
Re: Hamsters randomizer in action |
Tony |
Mon Jun 04, 2007 3:35 am |
Re: Hamsters randomizer in action |
Pradu Kannan |
Mon Jun 04, 2007 6:24 am |
Re: Hamsters randomizer in action |
Tony |
Mon Jun 04, 2007 6:47 am |
Re: Hamsters randomizer in action |
Gerd Isenberg |
Mon Jun 04, 2007 7:12 am |
Re: Hamsters randomizer in action |
H.G.Muller |
Mon Jun 04, 2007 10:26 am |
Re: Hamsters randomizer in action |
Tony |
Mon Jun 04, 2007 11:13 am |
Re: Hamsters randomizer in action |
H.G.Muller |
Mon Jun 04, 2007 11:49 am |
Re: Hamsters randomizer in action |
Alessandro Scotti |
Mon Jun 04, 2007 3:47 pm |
Re: Hamsters randomizer in action |
Guetti |
Mon Jun 04, 2007 4:21 pm |
Re: Hamsters randomizer in action |
H.G.Muller |
Mon Jun 04, 2007 6:16 pm |
Re: Hamsters randomizer in action |
Alessandro Scotti |
Tue Jun 05, 2007 10:47 am |
Re: Hamsters randomizer in action |
H.G.Muller |
Tue Jun 05, 2007 11:53 am |
Re: Hamsters randomizer in action |
Alessandro Scotti |
Tue Jun 05, 2007 12:39 pm |
Re: Hamsters randomizer in action |
H.G.Muller |
Tue Jun 05, 2007 1:13 pm |
Re: Hamsters randomizer in action |
Uri Blass |
Tue Jun 05, 2007 1:27 pm |
Re: Hamsters randomizer in action |
H.G.Muller |
Tue Jun 05, 2007 1:46 pm |
Re: Hamsters randomizer in action |
Uri Blass |
Tue Jun 05, 2007 10:33 pm |
Re: Hamsters randomizer in action |
Alessandro Scotti |
Wed Jun 06, 2007 10:32 pm |
Re: Hamsters randomizer in action |
Alessandro Scotti |
Thu Jun 07, 2007 12:01 am |
Re: Hamsters randomizer in action |
Pradu Kannan |
Thu Jun 07, 2007 8:13 am |
Re: Hamsters randomizer in action |
Alessandro Scotti |
Thu Jun 07, 2007 6:01 pm |
Re: Hamsters randomizer in action |
Spock |
Mon Jun 04, 2007 7:17 pm |
Re: Hamsters randomizer in action |
Ron Murawski |
Tue Jun 05, 2007 10:23 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|