pub struct DratInprocessor { /* private fields */ }Expand description
DRAT-based Inprocessor
Performs simplifications during search while maintaining proof correctness
Implementations§
Source§impl DratInprocessor
impl DratInprocessor
Sourcepub fn new(config: DratInprocessingConfig) -> Self
pub fn new(config: DratInprocessingConfig) -> Self
Create a new DRAT inprocessor
Sourcepub fn default_config() -> Self
pub fn default_config() -> Self
Create with default configuration
Sourcepub fn inprocess(
&mut self,
db: &mut ClauseDatabase,
proof: &mut DratProof,
) -> Result<usize>
pub fn inprocess( &mut self, db: &mut ClauseDatabase, proof: &mut DratProof, ) -> Result<usize>
Perform inprocessing on the clause database
Returns the number of simplifications made
Sourcepub fn stats(&self) -> &DratInprocessingStats
pub fn stats(&self) -> &DratInprocessingStats
Get statistics
Sourcepub fn reset_stats(&mut self)
pub fn reset_stats(&mut self)
Reset statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DratInprocessor
impl RefUnwindSafe for DratInprocessor
impl Send for DratInprocessor
impl Sync for DratInprocessor
impl Unpin for DratInprocessor
impl UnsafeUnpin for DratInprocessor
impl UnwindSafe for DratInprocessor
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more