pub enum Solved {
Sat(Vec<bool>),
Unsat(Vec<SatLit>),
}Expand description
The outcome of solve_assuming.
Variants§
Sat(Vec<bool>)
Satisfiable: a full model (var -> bool).
Unsat(Vec<SatLit>)
Unsatisfiable under the assumptions: a sufficient subset of them (a core)
such that cnf ∧ core is unsatisfiable. Empty means the formula is
unsatisfiable regardless of the assumptions. Not guaranteed minimal.
Trait Implementations§
impl Eq for Solved
impl StructuralPartialEq for Solved
Auto Trait Implementations§
impl Freeze for Solved
impl RefUnwindSafe for Solved
impl Send for Solved
impl Sync for Solved
impl Unpin for Solved
impl UnsafeUnpin for Solved
impl UnwindSafe for Solved
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