pub struct TautologyElimination;Expand description
Preprocessor for Tautology Elimination.
A tautological clause is a clause that contains both a literal and its negation
(e.g. x V !x V y). Such clauses are always true and can be removed from a CNF
formula without changing its satisfiability.
Trait Implementations§
Source§impl Clone for TautologyElimination
impl Clone for TautologyElimination
Source§fn clone(&self) -> TautologyElimination
fn clone(&self) -> TautologyElimination
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TautologyElimination
impl Debug for TautologyElimination
Source§impl Default for TautologyElimination
impl Default for TautologyElimination
Source§fn default() -> TautologyElimination
fn default() -> TautologyElimination
Returns the “default value” for a type. Read more
Source§impl PartialEq for TautologyElimination
impl PartialEq for TautologyElimination
Source§impl<L: Literal, S: LiteralStorage<L>> Preprocessor<L, S> for TautologyElimination
impl<L: Literal, S: LiteralStorage<L>> Preprocessor<L, S> for TautologyElimination
impl Copy for TautologyElimination
impl Eq for TautologyElimination
impl StructuralPartialEq for TautologyElimination
Auto Trait Implementations§
impl Freeze for TautologyElimination
impl RefUnwindSafe for TautologyElimination
impl Send for TautologyElimination
impl Sync for TautologyElimination
impl Unpin for TautologyElimination
impl UnwindSafe for TautologyElimination
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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