pub enum HornOutcome {
Sat(Vec<bool>),
Unsat(Vec<usize>),
}Expand description
The outcome of solving a Horn system.
Variants§
Sat(Vec<bool>)
Satisfiable, with the least model (re-checkable via satisfies).
Unsat(Vec<usize>)
Unsatisfiable, witnessed by the clause indices whose forward-chaining forces a goal’s body
fully true (re-checkable via is_refutation).
Trait Implementations§
Source§impl Clone for HornOutcome
impl Clone for HornOutcome
Source§fn clone(&self) -> HornOutcome
fn clone(&self) -> HornOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HornOutcome
impl Debug for HornOutcome
Source§impl PartialEq for HornOutcome
impl PartialEq for HornOutcome
Source§fn eq(&self, other: &HornOutcome) -> bool
fn eq(&self, other: &HornOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HornOutcome
impl StructuralPartialEq for HornOutcome
Auto Trait Implementations§
impl Freeze for HornOutcome
impl RefUnwindSafe for HornOutcome
impl Send for HornOutcome
impl Sync for HornOutcome
impl Unpin for HornOutcome
impl UnsafeUnpin for HornOutcome
impl UnwindSafe for HornOutcome
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