pub enum Solution {
Unsat,
Best(Vec<bool>),
Sat(Vec<bool>),
Unknown,
}Expand description
Solution to the SAT Formula.
Variants§
Unsat
The formula is unsatisfiable.
Best(Vec<bool>)
Neither SAT or UNSAT was proven. Best model known so far.
Sat(Vec<bool>)
The formula is satisfiable. A satifying model for the formula.
Unknown
No solution could be found.
Trait Implementations§
impl StructuralPartialEq for Solution
Auto Trait Implementations§
impl Freeze for Solution
impl RefUnwindSafe for Solution
impl Send for Solution
impl Sync for Solution
impl Unpin for Solution
impl UnsafeUnpin for Solution
impl UnwindSafe for Solution
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