pub struct LearningOptions {
pub max_clause_activity: f32,
pub clause_activity_decay_factor: f32,
pub num_high_lbd_learned_clauses_max: u64,
pub high_lbd_learned_clause_sorting_strategy: LearnedClauseSortingStrategy,
pub lbd_threshold: u32,
}Expand description
Options which determine how the learned clauses are handled within the Solver. These options
influence when the learned clause database removed clauses.
Fields§
§max_clause_activity: f32Determines when to rescale the activites of the learned clauses in the database.
clause_activity_decay_factor: f32Determines the factor by which the activities are divided when a conflict is found.
num_high_lbd_learned_clauses_max: u64The maximum number of clauses with an LBD higher than LearningOptions::lbd_threshold
allowed by the learned clause database. If there are more clauses with an LBD higher than
LearningOptions::lbd_threshold then removal from the database will be considered.
high_lbd_learned_clause_sorting_strategy: LearnedClauseSortingStrategySpecifies how the learned clauses are sorted when considering removal.
lbd_threshold: u32The treshold which specifies whether a learned clause database is considered to be with “High” LBD or “Low” LBD. Learned clauses with high LBD will be considered for removal.
Trait Implementations§
source§impl Clone for LearningOptions
impl Clone for LearningOptions
source§fn clone(&self) -> LearningOptions
fn clone(&self) -> LearningOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LearningOptions
impl Debug for LearningOptions
source§impl Default for LearningOptions
impl Default for LearningOptions
impl Copy for LearningOptions
Auto Trait Implementations§
impl Freeze for LearningOptions
impl RefUnwindSafe for LearningOptions
impl Send for LearningOptions
impl Sync for LearningOptions
impl Unpin for LearningOptions
impl UnwindSafe for LearningOptions
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
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)
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>
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>
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