3 unstable releases

0.2.1 May 11, 2024
0.2.0 May 6, 2024
0.1.0 May 6, 2024

#1631 in Database interfaces

Download history 16/week @ 2024-07-30 1/week @ 2024-08-20 22/week @ 2024-08-27 1/week @ 2024-09-03 5/week @ 2024-09-17 47/week @ 2024-09-24 11/week @ 2024-10-01 21/week @ 2024-10-08 19/week @ 2024-10-15 1/week @ 2024-10-22 21/week @ 2024-10-29

64 downloads per month

MIT/Apache

9MB
254 lines

rgbd

crate docs.rs master

Unofficial Rust client for GBD Benchmark Database, A Problem Meta-Data Library for Research in SAT

License

© 2024 Toshiki Teramura (@termoshtt)

This project is licensed under either of

at your option.


lib.rs:

Unofficial Rust client for GBD Benchmark Database, A Problem Meta-Data Library for Research in SAT

This crate downloads instance lists and actual benchmark instances from https://benchmark-database.de/ on-demand, and caches them locally.

Examples

Get instances of the main track in SAT Competition 2023

use rgbd::get_track;

let instances = get_track("main_2023").unwrap();
assert_eq!(instances.len(), 400);

// Take some small instance
let cnf = instances[14].read().unwrap();
assert_eq!(cnf.num_variables, 45);
assert_eq!(cnf.num_clauses, 376);

Dependencies

~26–38MB
~571K SLoC