gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] supercedes


From: Inge Wallin
Subject: Re: [gnugo-devel] supercedes
Date: Fri, 8 Feb 2002 17:53:30 +0100 (MET)

> i thought about storing the patterns in a tree, with the more general
> cases first and the more special ones afterwards. so if the more general
> pattern doesnt match, you dont have to try the special ones.
> this is something like "supercedes". i guess it could be done, it would
> somehow clash with DFA ???
> wolfgang

Yes, it is the same, except that you have it backwards.  What you
should do is to evaluate the special case.  If that doesn't match,
*then* you evaluate the more general case.  The idea is that
evaluation of the special case is cheap while evaluation of the more
general case can be quiet expensive.

        -Inge



reply via email to

[Prev in Thread] Current Thread [Next in Thread]