[−][src]Struct varisat::checker::Checker
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 + 'a))
[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 + 'a)
)
[src]
&mut self,
processor: &'a mut (dyn ProofTranscriptProcessor + 'a)
)
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]
fn self_check_step(&mut self, step: ProofStep<'_>) -> Result<(), CheckerError>
[src]
fn self_check_delayed_steps(&mut self) -> Result<(), CheckerError>
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
unsafe fn part_ptr(
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
[src]
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
unsafe fn part_ptr_mut(
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
[src]
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,