fountain_scheme
Configurable fountain code schemes built on fountain_engine.
Included Schemes
- LT Code: Pure Luby Transform codes with ideal soliton and robust soliton degree distributions.
- LDPC-LT Code: LT codes with LDPC precode for improved decoding performance.
- HDPC-LT Code: LT codes with HDPC (High-Density Parity Check) precode.
- Systematic Codes: Systematic variants of LDPC-LT and HDPC codes, where source symbols appear unmodified in the output.
Quick Start
Use the code scheme types (each implements fountain_engine::traits::CodeScheme). Pass any of them to fountain_engine::Encoder and fountain_engine::Decoder.
use XorShift64;
use ;
let k = 100usize;
let rng = new;
let _lt = new_from_robust_soliton;
let _ldpc_lt = new_with_ideal_soliton;
let _hdpc_lt = new_with_ideal_soliton;
let mut sys = new_with_ideal_soliton;
sys.as_systematic;
let _binary_hdpc = new_with_ideal_soliton;
License
MIT License. See LICENSE-MIT.
Copyright (c) 2025 Shenghao Yang. All rights reserved.