forked from niklasso/minisat
-
Notifications
You must be signed in to change notification settings - Fork 0
A minimalistic and high-performance SAT solver
License
zhzdeng/minisat
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
================================================================================
Quick Install
- Decide where to install the files . The simplest approach is to use
GNU standard locations and just set a "prefix" for the root install
directory (reffered to as $PREFIX below). More control can be
achieved by overriding other of the GNU standard install locations
(includedir, bindir, etc). Configuring with just a prefix:
> make config prefix=$PREFIX
- Compiling and installing:
> make install
================================================================================
Configuration
- Multiple configuration steps can be joined into one call to "make
config" by appending multiple variable assignments on the same line.
- The configuration is stored in the file "config.mk". Look here if
you want to know what the current configuration looks like.
- To reset from defaults simply remove the "config.mk" file or call
"make distclean".
- Recompilation can be done without the configuration step.
[ TODO: describe configartion possibilities for compile flags / modes ]
================================================================================
Building
make all (the default if no target is provided): build static/shared library
and executable minisat_core/minisat
make install: make install + cp libminisat.a /usr/local/lib/libminisat.a
================================================================================
Install
```
mkdir build
cd build
cmake ..
make
```
================================================================================
Directory Overview:
minisat/mtl/ Mini Template Library
minisat/utils/ Generic helper code (I/O, Parsing, CPU-time, etc)
minisat/core/ A core version of the solver
minisat/simp/ An extended solver with simplification capabilities
doc/ Documentation
README
LICENSE
================================================================================
Examples:
Run minisat with same heuristics as version 2.0:
> minisat <cnf-file> -no-luby -rinc=1.5 -phase-saving=0 -rnd-freq=0.02
About
A minimalistic and high-performance SAT solver
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C++ 93.4%
- Makefile 4.5%
- CMake 1.3%
- C 0.8%