Skip to main content

hard_decision_threshold

Function hard_decision_threshold 

Source
pub fn hard_decision_threshold(
    ensemble: &RegularEnsemble,
    decoder: HardDecoder,
) -> Result<f64>
Expand description

The largest crossover probability for which decoder drives the fraction of incorrect messages to zero on the ensemble (Table I of Richardson & Urbanke): a bisection of $[0, 1/2]$ to $10^{-6}$, each point iterated until the fraction falls below $10^{-12}$ (at most $10^{5}$ iterations).

§Errors

As hard_decision_error (never for this range).