pub struct ParallelClauseSimplifier { /* private fields */ }Expand description
Parallel clause simplifier.
Implementations§
Source§impl ParallelClauseSimplifier
impl ParallelClauseSimplifier
Sourcepub fn new(config: SimplificationConfig) -> Self
pub fn new(config: SimplificationConfig) -> Self
Create a new simplifier.
Sourcepub fn default_config() -> Self
pub fn default_config() -> Self
Create with default configuration.
Sourcepub fn simplify(&self, clauses: &[Clause]) -> SimplificationResult
pub fn simplify(&self, clauses: &[Clause]) -> SimplificationResult
Simplify a clause database in parallel.
Sourcepub fn self_subsuming_resolution(&self, clauses: &[Clause]) -> Vec<Clause>
pub fn self_subsuming_resolution(&self, clauses: &[Clause]) -> Vec<Clause>
Perform self-subsuming resolution.
Auto Trait Implementations§
impl Freeze for ParallelClauseSimplifier
impl RefUnwindSafe for ParallelClauseSimplifier
impl Send for ParallelClauseSimplifier
impl Sync for ParallelClauseSimplifier
impl Unpin for ParallelClauseSimplifier
impl UnsafeUnpin for ParallelClauseSimplifier
impl UnwindSafe for ParallelClauseSimplifier
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