Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: About tree visualisation

Author: Rafael Andrist

Date: 05:54:43 12/29/01

Go up one level in this thread


On December 29, 2001 at 06:16:18, Uri Blass wrote:

>On December 29, 2001 at 05:28:15, Rafael Andrist wrote:
>
>>On December 28, 2001 at 16:04:46, Uri Blass wrote:
>>
>>>On December 28, 2001 at 15:13:14, Rafael Andrist wrote:
>>>
>>>>On December 28, 2001 at 13:46:32, Uri Blass wrote:
>>>>
>>>>>I have almost no experience with writing into text files in C and this is one of
>>>>>the reason that I did not try to do the relevant program by myself and prefered
>>>>>to concentrate on other things.
>>>>
>>>>its practically the same like writing text to stdout, use fprintf instead of
>>>>printf
>>>
>>>I may try to do it later if I get no help but I think that the program that I
>>>suggest may help many progrmammers because it is not dependent on the structure
>>>of the program and it is very simple to use(only to add few lines in the right
>>>place when the lines are the same for all programmers and to add a file that has
>>>the relevant functions to the project).
>>
>>I think it is more efficient to implement it directly in search. To make a
>>general tool would require another new communication protocol too.
>
>You only need 2 functions
>
>1)AddInitialPositionToTree(char position[80]);
>This function get the FEN of the root of the tree
>
>
>2)AddMoveToTree(char move[6];int ply;char* comments)
>This function get the following information:
>
>a)move algebric notation(for example e2e1Q or e8g8)
>b)ply(if it is bigger by 1 than the previous call for this function you go
>forward and if it is not bigger you can find how many plies to go backward based
>on the difference)
>c)a string of comments

Now you aren't talking about a separate program but about a library you can link
together with your program. If I have the time, i'll try to write it today.

But if you search more than 3 plys nominal depth you will have too much data.

regards
Rafael B. Andrist



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.