Няма описание

Lucas Stadler 9476b08a70 mention the dpll solver in the readme, document usage преди 10 години
..
examples 78b1496b22 use a thread to increase the stack size преди 10 години
src 95fac8cd93 avoid `.clone()` where possible преди 10 години
.gitignore 318fefac2e mv dpll solve преди 10 години
Cargo.lock 318fefac2e mv dpll solve преди 10 години
Cargo.toml 318fefac2e mv dpll solve преди 10 години
README.md 9476b08a70 mention the dpll solver in the readme, document usage преди 10 години

README.md

solve

Warning: Don't use this, it's basically my "Hello World" in Rust and looks and smells accordingly. If you Know Things™ and want to tell me how to do stuff better please do so, but don't expect to find pretty things yet. Maybe at some point in the future...

That being said, this is me playing around with Rust and writing some code related to constraint programming at the same time.

There are a few things here:

  • an incomplete parser for CNFs in DIMAC format (./src/cnf.rs)
  • a naïve implementation of the DPLL algorithm
  • a binary that uses these things to parse CNFs on stdin and solves them using the DPLL implementation

    you can try it yourself:

    $ cat examples/external-02-quinn.cnf | cargo run --release