[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[6]: [gnugo-devel] sgf/sgfnode.c possible error
From: |
Paul Pogonyshev |
Subject: |
Re: Re[6]: [gnugo-devel] sgf/sgfnode.c possible error |
Date: |
Fri, 17 Sep 2004 18:17:05 -0200 |
User-agent: |
KMail/1.4.3 |
Dmitri Koulikov wrote:
> Hello Paul Pogonyshev,
>
> Thursday, September 16, 2004, 11:52:56 PM, you wrote:
> >> (; ;) (; ;) => it would be empty...
>
> PP> GNU Go cannot handle multiple game trees in one file anyway.
> PP> Also, it doesn't make sense to start a variation as another
> PP> tree. Such an operation should be explicitly named as
> PP> creating a new tree.
> I mean not forest but variation in the first move
Well, but then parent is not NULL.
It will look like this:
SGFTree game_tree: root = node1
SGFNode node1: props = NULL
parent = NULL
child = node2
next = NULL
SGFNode node2: props = NULL
parent = node1
child = NULL
next = NULL
So, you can sgfStartVariant(node2), since `node2->parent'
is non-NULL. Calling sgfStartVariant(node1) is not a good
idea anyway, since `node1' is a root.
Paul
- [gnugo-devel] sgf/sgfnode.c possible error, Dmitri Koulikov, 2004/09/14
- Re: [gnugo-devel] sgf/sgfnode.c possible error, Paul Pogonyshev, 2004/09/15
- Re: [gnugo-devel] sgf/sgfnode.c possible error, Paul Pogonyshev, 2004/09/15
- Message not available
- Re: Re[2]: [gnugo-devel] sgf/sgfnode.c possible error, Paul Pogonyshev, 2004/09/15
- Re: Re[2]: [gnugo-devel] sgf/sgfnode.c possible error, Paul Pogonyshev, 2004/09/15
- Re[4]: [gnugo-devel] sgf/sgfnode.c possible error, Dmitri Koulikov, 2004/09/16
- Re: Re[4]: [gnugo-devel] sgf/sgfnode.c possible error, Paul Pogonyshev, 2004/09/16
- Re[6]: [gnugo-devel] sgf/sgfnode.c possible error, Dmitri Koulikov, 2004/09/17
- Re: Re[6]: [gnugo-devel] sgf/sgfnode.c possible error,
Paul Pogonyshev <=
- [gnugo-devel] sgf/sgfnode.c more inproverment, Dmitri Koulikov, 2004/09/19
- Re: [gnugo-devel] sgf/sgfnode.c more inproverment, Paul Pogonyshev, 2004/09/19
- Re: Re[2]: [gnugo-devel] sgf/sgfnode.c possible error, Arend Bayer, 2004/09/22
- Re: Re[2]: [gnugo-devel] sgf/sgfnode.c possible error, Paul Pogonyshev, 2004/09/22