pub struct SensitivityConfig {
pub sensitivity_scale: u32,
pub w_critical: f64,
pub w_fanout: f64,
pub w_position: f64,
pub w_parallel: f64,
}Expand description
Configuration for auto-sensitivity scoring.
Weights and scale match NAT defaults from trie_builder.py lines 41-48.
Fields§
§sensitivity_scale: u32Integer scale for quantized sensitivity (1..=scale).
w_critical: f64Weight for the critical-path signal.
w_fanout: f64Weight for the fan-out signal.
w_position: f64Weight for the U-shaped position signal.
w_parallel: f64Weight for the parallel-penalty signal.
Trait Implementations§
Source§impl Clone for SensitivityConfig
impl Clone for SensitivityConfig
Source§fn clone(&self) -> SensitivityConfig
fn clone(&self) -> SensitivityConfig
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 SensitivityConfig
impl Debug for SensitivityConfig
Source§impl Default for SensitivityConfig
impl Default for SensitivityConfig
Source§impl<'de> Deserialize<'de> for SensitivityConfig
impl<'de> Deserialize<'de> for SensitivityConfig
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 SensitivityConfig
impl RefUnwindSafe for SensitivityConfig
impl Send for SensitivityConfig
impl Sync for SensitivityConfig
impl Unpin for SensitivityConfig
impl UnsafeUnpin for SensitivityConfig
impl UnwindSafe for SensitivityConfig
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