pub struct Cnf {
pub num_vars: usize,
pub clauses: Vec<Vec<SatLit>>,
}Expand description
A CNF formula over num_vars variables.
Fields§
§num_vars: usizeNumber of variables; every Var used must be < num_vars.
clauses: Vec<Vec<SatLit>>The clauses, each a disjunction of literals (the formula is their AND).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cnf
impl RefUnwindSafe for Cnf
impl Send for Cnf
impl Sync for Cnf
impl Unpin for Cnf
impl UnsafeUnpin for Cnf
impl UnwindSafe for Cnf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more