pub struct OptimizerConfig {
pub strategy: OptimizationStrategyType,
pub rebalancing_interval: Duration,
pub enable_predictive_scaling: bool,
pub enable_energy_optimization: bool,
pub enable_thermal_management: bool,
pub aggressiveness: f64,
pub performance_weight: f64,
pub energy_weight: f64,
pub fairness_weight: f64,
}Expand description
Optimizer configuration
Fields§
§strategy: OptimizationStrategyTypeOptimization strategy
rebalancing_interval: DurationRebalancing interval
enable_predictive_scaling: boolEnable predictive scaling
enable_energy_optimization: boolEnable energy optimization
enable_thermal_management: boolEnable thermal management
aggressiveness: f64Optimization aggressiveness (0.0 to 1.0)
performance_weight: f64Performance weight in optimization
energy_weight: f64Energy weight in optimization
fairness_weight: f64Fairness weight in optimization
Trait Implementations§
Source§impl Clone for OptimizerConfig
impl Clone for OptimizerConfig
Source§fn clone(&self) -> OptimizerConfig
fn clone(&self) -> OptimizerConfig
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 OptimizerConfig
impl Debug for OptimizerConfig
Auto Trait Implementations§
impl Freeze for OptimizerConfig
impl RefUnwindSafe for OptimizerConfig
impl Send for OptimizerConfig
impl Sync for OptimizerConfig
impl Unpin for OptimizerConfig
impl UnwindSafe for OptimizerConfig
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> 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