[][src]Struct varisat_checker::state::CheckerState

pub struct CheckerState {
    pub step: u64,
    pub unsat: bool,
    ended: bool,
    previous_irred_clause_id: Option<u64>,
    previous_irred_clause_lits: Vec<Lit>,
    assumptions: Vec<Lit>,
}

A checker for unsatisfiability proofs in the native varisat format.

Fields

step: u64

Current step number.

unsat: bool

Whether unsatisfiability was proven.

ended: bool

Whether an end of proof step was checked.

previous_irred_clause_id: Option<u64>

Last added irredundant clause id.

Sorted and free of duplicates.

previous_irred_clause_lits: Vec<Lit>

Last added irredundant clause literals.

assumptions: Vec<Lit>

Current assumptions, used to check FailedAssumptions and Model

Methods

impl CheckerState[src]

fn subsumed_by_previous_irred_clause(&self, lits: &[Lit]) -> bool[src]

Check whether a given clause is subsumed by the last added irredundant clause.

lits must be sorted and free of duplicates.

Trait Implementations

impl Default for CheckerState[src]

Auto Trait Implementations

impl Send for CheckerState

impl Sync for CheckerState

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
    Inner: Part,
    Outer: Part<PartType = Field<OuterFieldType>>,
    OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
    Reference: HasPart<Outer> + ?Sized