pub struct FluxConfig {Show 18 fields
pub initial_temperature: f32,
pub min_temperature: f32,
pub max_temperature: f32,
pub decay_rate: f32,
pub pressure_scale: f32,
pub tick_interval: Duration,
pub sample_rate: f32,
pub max_candidates: usize,
pub alpha_recency: f32,
pub beta_freq: f32,
pub gamma_importance: f32,
pub delta_cost: f32,
pub sigmoid_k: f32,
pub importance_decay: f32,
pub max_concurrent_migrations: usize,
pub restore_concurrency: usize,
pub restore_backoff_ms: u64,
pub restore_max_retries: u32,
}Expand description
波动引擎配置 —— 冷热调度的热力学参数
Fields§
§initial_temperature: f32初始温度
min_temperature: f32最低温度(防止系统完全停止流动)
max_temperature: f32最高温度
decay_rate: f32温度衰减率(每tick乘以此值)
pressure_scale: f32系统压力时温度放大比
tick_interval: DurationTick间隔
sample_rate: f32候选采样率(防止每tick扫描全表)
max_candidates: usize每次最多处理的候选数
alpha_recency: f32评分权重:时效性
beta_freq: f32评分权重:访问频率
gamma_importance: f32评分权重:用户标注重要性
delta_cost: f32评分权重:迁移代价(负向)
sigmoid_k: f32sigmoid陡峭度
importance_decay: f32重要性每tick衰减率
max_concurrent_migrations: usize最大并发迁移数
restore_concurrency: usize恢复队列并发数
restore_backoff_ms: u64恢复初始退避(毫秒)
restore_max_retries: u32恢复最大重试次数
Trait Implementations§
Source§impl Clone for FluxConfig
impl Clone for FluxConfig
Source§fn clone(&self) -> FluxConfig
fn clone(&self) -> FluxConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FluxConfig
impl Debug for FluxConfig
Source§impl Default for FluxConfig
impl Default for FluxConfig
Source§impl<'de> Deserialize<'de> for FluxConfig
impl<'de> Deserialize<'de> for FluxConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FluxConfig
impl RefUnwindSafe for FluxConfig
impl Send for FluxConfig
impl Sync for FluxConfig
impl Unpin for FluxConfig
impl UnsafeUnpin for FluxConfig
impl UnwindSafe for FluxConfig
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