Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Rose1917/bool2dimacs
https://github.com/Rose1917/bool2dimacs
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/Rose1917/bool2dimacs
- Owner: Rose1917
- Created: 2022-12-13T17:57:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T15:41:05.000Z (almost 2 years ago)
- Last Synced: 2024-05-22T21:32:39.071Z (6 months ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rust-formalized-reasoning - bool2dimacs - transfer boolean expression to dimacs directly. (Projects / Libraries)
README
#### What is this
an end-to-end cnf parser.#### Usage
```rust
use bool2cnf::parse_dimacsfn test_parse(){
let input = "A&&(B||!(D&&E))";
println!("raw string:{}", input);
let p = parse_dimacs(input);
println!("dimacs:\n{}", p);
}```
#### Todo
- [ ] Added customized operator
- [ ] An optional sat-solver