pub struct StabilizationManager { /* private fields */ }Expand description
Stabilization manager
Implementations§
Source§impl StabilizationManager
impl StabilizationManager
Sourcepub fn new(config: StabilizationConfig) -> Self
pub fn new(config: StabilizationConfig) -> Self
Create a new stabilization manager
Sourcepub fn mode(&self) -> SearchMode
pub fn mode(&self) -> SearchMode
Get current search mode
Sourcepub fn on_conflict(&mut self) -> bool
pub fn on_conflict(&mut self) -> bool
Record a conflict and check if mode should switch
Sourcepub fn record_progress(&mut self, score: f64)
pub fn record_progress(&mut self, score: f64)
Record progress (e.g., based on learned clauses or LBD)
Sourcepub fn phase_weight(&self) -> f64
pub fn phase_weight(&self) -> f64
Get phase saving weight for current mode
Sourcepub fn random_prob(&self) -> f64
pub fn random_prob(&self) -> f64
Get randomization probability for current mode
Sourcepub fn restart_multiplier(&self) -> f64
pub fn restart_multiplier(&self) -> f64
Get restart interval multiplier for current mode
Sourcepub fn deletion_aggressiveness(&self) -> f64
pub fn deletion_aggressiveness(&self) -> f64
Get clause deletion aggressiveness for current mode
Sourcepub fn force_mode(&mut self, mode: SearchMode)
pub fn force_mode(&mut self, mode: SearchMode)
Force switch to a specific mode
Sourcepub fn stats(&self) -> StabilizationStats
pub fn stats(&self) -> StabilizationStats
Get statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StabilizationManager
impl RefUnwindSafe for StabilizationManager
impl Send for StabilizationManager
impl Sync for StabilizationManager
impl Unpin for StabilizationManager
impl UnsafeUnpin for StabilizationManager
impl UnwindSafe for StabilizationManager
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