This is a C++ program to display a SAT formula, as well as visualise the solving process of a particular solver if desired.
Requires:
- VTK
- CryptoMiniSAT
- ZeroMQ (
sudo apt-get install libzmq-dev
)
Optional:
-
Copy SVisZMQ to include directory:
sudo cp lib/s_vis_zmq.hpp usr/include
-
Install MapleLCMDistChronoBT and/or MiniSAT if desired
-
Build with cmake:
cmake --build cmake-build-debug --target all -- -j 6
-
Run using s_vis executable in cmake-build-debug folder
- Visualise a SAT instance with:
Please note the CNF file must have CRLF line endings; not LF
s_vis <sat-instance>
- Change graph level using the numbers on the keyboard
- Visualise a solver run using the following keys:
- B: Basic WalkSAT algorithm (will run indefinitely)
- C: CryptoMiniSAT (experimental)
- G: MapleLCMDistChronoBT
- M: MiniSAT
- W: WalkSAT
- Fix CryptoMiniSAT
- Include solvers as part of program (as opposed to being run with system commands)
- Include more solvers
- Create UI
Cormac Geraghty