| 1 |
BoolStuff - Disjunctive Normal Form boolean expression C++ library |
| 2 |
|
| 3 |
LICENSE |
| 4 |
|
| 5 |
Copyright (C) 2002-2016 Pierre Sarrazin <http://sarrazip.com/> |
| 6 |
This program is free software distributed under the GNU GPL. |
| 7 |
See the file COPYING. |
| 8 |
|
| 9 |
Please note that this means that proprietary software may not |
| 10 |
be linked with this library. |
| 11 |
|
| 12 |
INTRODUCTION |
| 13 |
|
| 14 |
BoolStuff is a small C++ library that supports a few operations on |
| 15 |
boolean expression binary trees. The main features are: |
| 16 |
|
| 17 |
- a boolean expression parser (supports operators AND, OR |
| 18 |
and NOT, as well as parentheses); |
| 19 |
|
| 20 |
- an algorithm to convert a boolean expression binary tree |
| 21 |
into its Disjunctive Normal Form; |
| 22 |
|
| 23 |
- a function that determines if an expression tree is in DNF. |
| 24 |
|
| 25 |
A command named `booldnf' that calls this library is also provided. |
| 26 |
|
| 27 |
See the BoolStuff Home Page: |
| 28 |
http://sarrazip.com/dev/boolstuff.html |
| 29 |
|
| 30 |
Manual pages (boolstuff.3 and booldnf.1) are provided. |
| 31 |
|
| 32 |
INSTALLATION |
| 33 |
|
| 34 |
This package is autoconfiscated. See INSTALL for details. |
| 35 |
The sequence `./configure --prefix=SOME_PREFIX; make; make |
| 36 |
install' should suffice. |
| 37 |
|
| 38 |
USING THIS LIBRARY |
| 39 |
|
| 40 |
The `examples' subdirectory of this source archive contains |
| 41 |
an autoconfiscated example program that uses this library. |
| 42 |
It assumes that the library has been installed. |
| 43 |
|
| 44 |
There is also a Perl script (test-booldnf.pl) that shows how |
| 45 |
to call the `booldnf' command from a bidirectional pipe. |
| 46 |
|