pub fn hard_decision_error(
ensemble: &RegularEnsemble,
decoder: HardDecoder,
eps: f64,
iterations: usize,
) -> Result<f64>Expand description
The fraction of incorrect variable-to-check messages after iterations iterations of
decoder on the BSC of crossover probability eps (an erasure counts as half an
error), on a cycle-free graph of the ensemble.
§Errors
Error::Config unless $0 \le \epsilon \le 1/2$.