Crates.io | satire |
lib.rs | satire |
version | 0.0.1 |
source | src |
created_at | 2021-07-19 19:43:12.250956 |
updated_at | 2021-07-19 19:43:12.250956 |
description | An educational SAT solver written in Rust |
homepage | |
repository | https://github.com/Qwaz/satire |
max_upload_size | |
id | 424888 |
size | 65,056 |
Satire is an educational (i.e., not feature-complete) SAT solver that may evolve into something else (or not) in the future.
I wrote Satire primarily for learning about SAT solver internals by writing one. However, I also tried hard to separate different concepts of SAT solvers in different modules, so it might be helpful for people who found existing SAT solver code difficult to read or who is learning how to organize code in Rust.
Satire accepts limited form of DIMAC CNF files.
satire [dpll|cdcl] check testcases/satch_cnfs/add4.cnf
To run the entire test suite, use cargo test
.
# Run all tests (note: it doesn't pass all tests in time)
cargo test --release
# Run all tests only with cdcl solver (note: it doesn't pass all tests in time)
cargo test --release -- cdcl