Skip to content

Cormac1902/solver-visualisation

Repository files navigation

Solver Visualisation Program

Description

This is a C++ program to display a SAT formula, as well as visualise the solving process of a particular solver if desired.

Dependencies

Requires:

Optional:

Installation

  1. Copy SVisZMQ to include directory:

    sudo cp lib/s_vis_zmq.hpp usr/include
  2. Install MapleLCMDistChronoBT and/or MiniSAT if desired

  3. Build with cmake:

    cmake --build cmake-build-debug --target all -- -j 6
  4. Run using s_vis executable in cmake-build-debug folder

Usage

  • Visualise a SAT instance with:
    s_vis <sat-instance>
    Please note the CNF file must have CRLF line endings; not LF
  • 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

Roadmap

  • Fix CryptoMiniSAT
  • Include solvers as part of program (as opposed to being run with system commands)
  • Include more solvers
  • Create UI

Support

CormacGeraghty@outlook.ie

Author

Cormac Geraghty

About

A program to visualise the search space of a SAT solver

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published