Reducing Brackets is a Logical expression
| From: | rm | Date: | Thu, 28 Jun 2001 17:25:29 +0000 |
| Subject: | Reducing Brackets is a Logical expression | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55513@lists.php.net to get a copy of this message | ||
Somewhere, some time ago, i saw a rountine, C, C++,
php, some language that provided a rountine to reduce
brackets in a logical expression to the fewest number
of brackets possible (much like mysql does), for ex:
((a and b) or (a and c)) would be reduced to:
(a or c) and b
not a very good example, anyone one ever run across
this code, or have an idea what this operation is
called, I know there was a name....for the life of me
I can't remember the name.
any help appreciated
kb
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/