pub enum BinaryInputChannel {
Bsc {
crossover: f64,
},
Biawgn {
sigma: f64,
},
}Expand description
A binary-input memoryless output-symmetric channel, the input of
BpDensityEvolution.
Variants§
Bsc
The binary symmetric channel of crossover probability crossover (Example 1).
Biawgn
The binary-input AWGN channel $y = x + z$, $x \in {\pm 1}$, $z \sim \mathcal{N}(0, \sigma^{2})$ (Example 2).
Trait Implementations§
Source§impl Clone for BinaryInputChannel
impl Clone for BinaryInputChannel
impl Copy for BinaryInputChannel
Source§impl Debug for BinaryInputChannel
impl Debug for BinaryInputChannel
Source§impl PartialEq for BinaryInputChannel
impl PartialEq for BinaryInputChannel
impl StructuralPartialEq for BinaryInputChannel
Auto Trait Implementations§
impl Forget for BinaryInputChannel
impl Freeze for BinaryInputChannel
impl RefUnwindSafe for BinaryInputChannel
impl Send for BinaryInputChannel
impl Sync for BinaryInputChannel
impl Unpin for BinaryInputChannel
impl UnsafeUnpin for BinaryInputChannel
impl UnwindSafe for BinaryInputChannel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more