[][src]Struct varisat_checker::Checker

pub struct Checker<'a> { /* fields omitted */ }

A checker for unsatisfiability proofs in the native varisat format.

Implementations

impl<'a> Checker<'a>[src]

pub fn new() -> Checker<'a>[src]

Create a new checker.

pub fn add_clause(&mut self, clause: &[Lit]) -> Result<(), CheckerError>[src]

Adds a clause to the checker.

pub fn add_formula(&mut self, formula: &CnfFormula) -> Result<(), CheckerError>[src]

Add a formula to the checker.

pub fn add_dimacs_cnf(&mut self, input: impl Read) -> Result<(), Error>[src]

Reads and adds a formula in DIMACS CNF format.

Using this avoids creating a temporary CnfFormula.

pub fn add_processor(&mut self, processor: &'a mut dyn ProofProcessor)[src]

Add a ProofProcessor.

This has to be called before loading any clauses or checking any proofs.

pub fn add_transcript(
    &mut self,
    processor: &'a mut dyn ProofTranscriptProcessor
)
[src]

Add a ProofTranscriptProcessor.

This has to be called before loading any clauses or checking any proofs.

pub fn check_proof(&mut self, input: impl Read) -> Result<(), CheckerError>[src]

Checks a proof in the native Varisat format.

Trait Implementations

impl<'a> Default for Checker<'a>[src]

impl<'a> SelfChecker for Checker<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Checker<'a>

impl<'a> !Send for Checker<'a>

impl<'a> !Sync for Checker<'a>

impl<'a> Unpin for Checker<'a>

impl<'a> !UnwindSafe for Checker<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[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
[src]

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>,