[−][src]Struct rate_common::parser::Parser
CNF and DRAT/DPR parser.
Fields
redundancy_property: RedundancyPropertyThe redundancy property identifying the proof format.
maxvar: VariableThe highest variable parsed so far
clause_pivot: Vector<Literal>For RAT, the pivot (first literal) for each clause
It is necessary to store this because the clauses will be sorted (and watches will be shuffled).
proof_start: ClauseThe first clause that is part of the proof (and not the input formula)
proof: Vector<ProofStep>The proof steps
max_proof_steps: Option<usize>How many proof steps we want to parse
verbose: boolPrint diagnostics and timing information
Methods
impl Parser[src]
pub fn new() -> Parser[src]
Create a new parser.
Note: this allocates the static clause and witness databases, so this should only be called once.
pub fn is_pr(&self) -> bool[src]
Returns true if we are parsing a (D)PR proof.
Trait Implementations
impl HeapSpace for Parser[src]
fn heap_space(&self) -> usize[src]
impl PartialEq<Parser> for Parser[src]
impl Debug for Parser[src]
Auto Trait Implementations
impl Send for Parser
impl Unpin for Parser
impl Sync for Parser
impl UnwindSafe for Parser
impl RefUnwindSafe for Parser
Blanket Implementations
impl<T> HeapSpace for T where
T: Copy, [src]
T: Copy,
fn heap_space(&Self) -> usize[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,