pub struct StabilizationConfig {
pub focused_conflicts: u64,
pub diversification_conflicts: u64,
pub min_focused: u64,
pub max_focused: u64,
pub focused_phase_weight: f64,
pub diversification_phase_weight: f64,
pub focused_random_prob: f64,
pub diversification_random_prob: f64,
pub dynamic_adjustment: bool,
}Expand description
Stabilization strategy configuration
Fields§
§focused_conflicts: u64Number of conflicts in focused mode before switching
diversification_conflicts: u64Number of conflicts in diversification mode before switching
min_focused: u64Minimum focused period (conflicts)
max_focused: u64Maximum focused period (conflicts)
focused_phase_weight: f64Focused mode phase saving weight (0.0 = random, 1.0 = always use saved)
diversification_phase_weight: f64Diversification mode phase saving weight
focused_random_prob: f64Focused mode randomization probability
diversification_random_prob: f64Diversification mode randomization probability
dynamic_adjustment: boolEnable dynamic adjustment
Implementations§
Source§impl StabilizationConfig
impl StabilizationConfig
Sourcepub fn default_config() -> Self
pub fn default_config() -> Self
Create default configuration
Sourcepub fn aggressive_focused() -> Self
pub fn aggressive_focused() -> Self
Create aggressive focused configuration
Trait Implementations§
Source§impl Clone for StabilizationConfig
impl Clone for StabilizationConfig
Source§fn clone(&self) -> StabilizationConfig
fn clone(&self) -> StabilizationConfig
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 StabilizationConfig
impl Debug for StabilizationConfig
Auto Trait Implementations§
impl Freeze for StabilizationConfig
impl RefUnwindSafe for StabilizationConfig
impl Send for StabilizationConfig
impl Sync for StabilizationConfig
impl Unpin for StabilizationConfig
impl UnsafeUnpin for StabilizationConfig
impl UnwindSafe for StabilizationConfig
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