pub struct SolverConfig {Show 14 fields
pub restart_interval: u64,
pub restart_multiplier: f64,
pub clause_deletion_threshold: usize,
pub var_decay: f64,
pub clause_decay: f64,
pub random_polarity_prob: f64,
pub restart_strategy: RestartStrategy,
pub enable_lazy_hyper_binary: bool,
pub use_chb_branching: bool,
pub use_lrb_branching: bool,
pub enable_inprocessing: bool,
pub inprocessing_interval: u64,
pub enable_chronological_backtrack: bool,
pub chrono_backtrack_threshold: u32,
}Expand description
Solver configuration
Fields§
§restart_interval: u64Restart interval (number of conflicts)
restart_multiplier: f64Restart multiplier for geometric restarts
clause_deletion_threshold: usizeClause deletion threshold
var_decay: f64Variable decay factor
clause_decay: f64Clause decay factor
random_polarity_prob: f64Random polarity probability (0.0 to 1.0)
restart_strategy: RestartStrategyRestart strategy: “luby” or “geometric”
enable_lazy_hyper_binary: boolEnable lazy hyper-binary resolution
use_chb_branching: boolUse CHB instead of VSIDS for branching
use_lrb_branching: boolUse LRB (Learning Rate Branching) for branching
enable_inprocessing: boolEnable inprocessing (periodic preprocessing during search)
inprocessing_interval: u64Inprocessing interval (number of conflicts between inprocessing)
enable_chronological_backtrack: boolEnable chronological backtracking
chrono_backtrack_threshold: u32Chronological backtracking threshold (max distance from assertion level)
Trait Implementations§
Source§impl Clone for SolverConfig
impl Clone for SolverConfig
Source§fn clone(&self) -> SolverConfig
fn clone(&self) -> SolverConfig
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 SolverConfig
impl Debug for SolverConfig
Auto Trait Implementations§
impl Freeze for SolverConfig
impl RefUnwindSafe for SolverConfig
impl Send for SolverConfig
impl Sync for SolverConfig
impl Unpin for SolverConfig
impl UnsafeUnpin for SolverConfig
impl UnwindSafe for SolverConfig
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> 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