Skip to main content

continuous_to_fact

Function continuous_to_fact 

Source
pub fn continuous_to_fact(
    samples: &[f64],
    threshold: f64,
    fact_id: u64,
) -> Option<u64>
Expand description

Continuous → discrete: if the integrated signal exceeds threshold, instantiate the discrete fact fact_id (∫Ψ > τ → Fact(p)); otherwise None. The bridge from the manifold substrate to epistemic.rs.