[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] another semeai patch
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] another semeai patch |
Date: |
Sun, 18 Jan 2004 00:59:01 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
SP Lee wrote:
> I'm using cygwin and it compiles and runs ok.
It may or may not work depending on the platform. I.e. it's not portable.
> However, when I changed it
> into strcmp like
> if (strcmp(owl_moves[k].name, "eat lunch") == 0 && ......
> I got a run time error although it compiled ok. So at this moment I don't
> have other solution. Any suggestion to avoid string comparison is welcome.
>
> I do have added a constraints to this patch to eliminate the unexpected
> fails. After this new patch there is only one pass at semeai:58 and no other
> breakage.
Well, this is not the right place to filter out the move. It should be
done already when the lunch eating moves are first generated. I'd also
like to have some reasonably robust criteria for when eating a lunch
is a bad idea in a semeai.
/Gunnar
- [gnugo-devel] another semeai patch, Paul Pogonyshev, 2004/01/11
- Re: [gnugo-devel] another semeai patch, bump, 2004/01/13
- Re: [gnugo-devel] another semeai patch, bump, 2004/01/13
- Re: [gnugo-devel] another semeai patch, Paul Pogonyshev, 2004/01/14
- Message not available
- Re: [gnugo-devel] another semeai patch, Paul Pogonyshev, 2004/01/14
- Re: [gnugo-devel] another semeai patch, Gunnar Farneback, 2004/01/14
- Re: [gnugo-devel] another semeai patch, SP Lee, 2004/01/14
- Re: [gnugo-devel] another semeai patch, Inge Wallin, 2004/01/14
- Re: [gnugo-devel] another semeai patch, sp lee, 2004/01/15
- Re: [gnugo-devel] another semeai patch,
Gunnar Farneback <=
- Re: [gnugo-devel] another semeai patch, SP lee, 2004/01/20
- Re: [gnugo-devel] another semeai patch, Paul Pogonyshev, 2004/01/20
- [gnugo-devel] a GG3.53 very bad game, max-d, 2004/01/20
- Re: [gnugo-devel] a GG3.53 very bad game, bump, 2004/01/21
- Re: [gnugo-devel] a GG3.53 very bad game, Jens Yllman, 2004/01/26
- Re: [gnugo-devel] a GG3.53 very bad game, Dave Denholm, 2004/01/26
- Re: [gnugo-devel] a GG3.53 very bad game, Jens Yllman, 2004/01/27
- Re: [gnugo-devel] another semeai patch, Gunnar Farneback, 2004/01/20
- Re: [gnugo-devel] another semeai patch, Paul Pogonyshev, 2004/01/14
- Re: [gnugo-devel] another semeai patch, bump, 2004/01/14