pub enum LearnedClauseSortingStrategy {
Activity,
Lbd,
}Expand description
The sorting strategy which is used when considering removal from the clause database.
Variants§
Activity
Sorts based on the activity, the activity is bumped when a literal is encountered during conflict analysis.
Lbd
Sorts based on the literal block distance (LBD) which is an indication of how “good” a learned clause is.
Trait Implementations§
source§impl Clone for LearnedClauseSortingStrategy
impl Clone for LearnedClauseSortingStrategy
source§fn clone(&self) -> LearnedClauseSortingStrategy
fn clone(&self) -> LearnedClauseSortingStrategy
Returns a copy 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 LearnedClauseSortingStrategy
impl Debug for LearnedClauseSortingStrategy
source§impl PartialEq for LearnedClauseSortingStrategy
impl PartialEq for LearnedClauseSortingStrategy
source§fn eq(&self, other: &LearnedClauseSortingStrategy) -> bool
fn eq(&self, other: &LearnedClauseSortingStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LearnedClauseSortingStrategy
impl Eq for LearnedClauseSortingStrategy
impl StructuralPartialEq for LearnedClauseSortingStrategy
Auto Trait Implementations§
impl Freeze for LearnedClauseSortingStrategy
impl RefUnwindSafe for LearnedClauseSortingStrategy
impl Send for LearnedClauseSortingStrategy
impl Sync for LearnedClauseSortingStrategy
impl Unpin for LearnedClauseSortingStrategy
impl UnwindSafe for LearnedClauseSortingStrategy
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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 moresource§impl<Value> Statistic for Valuewhere
Value: Display,
impl<Value> Statistic for Valuewhere
Value: Display,
source§fn log(&self, statistic_logger: StatisticLogger)
fn log(&self, statistic_logger: StatisticLogger)
Logs the
Statistic using the provided StatisticLogger.