bool2cnf

Crates.iobool2cnf
lib.rsbool2cnf
version0.1.9
sourcesrc
created_at2022-12-13 18:04:26.676823
updated_at2023-04-06 15:40:53.815081
descriptiontransfer boolean expression to dimacs directly
homepage
repository
max_upload_size
id736069
size15,796
(Rose1917)

documentation

README

What is this

an end-to-end cnf parser.

Usage

use bool2cnf::parse_dimacs

    fn 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
Commit count: 0

cargo fmt