dsfb-srd 0.1.0

Deterministic Structural Regime Dynamics demonstrator for trust-gated causal topology sweeps
Documentation
1
2
3
4
5
6
7
pub fn update_envelope(previous_envelope: f64, residual: f64, decay: f64) -> f64 {
    (previous_envelope * decay).max(residual)
}

pub fn compute_trust(envelope: f64, beta: f64) -> f64 {
    (-beta * envelope).exp().clamp(0.0, 1.0)
}