Struct p25::coding::trellis::DibitStates
[−]
[src]
pub struct DibitStates;
Half-rate state machine (dibit input).
Trait Implementations
impl States for DibitStates
[src]
type Symbol = Dibit
Symbol type to use for states and input.
fn size() -> usize
[src]
Number of rows/columns in the state machine.
fn pair_idx(cur: usize, next: usize) -> usize
[src]
Get the "constellation point" on the transition from the current state to the next state. Read more
fn state(input: Dibit) -> usize
[src]
Convert the given symbol to a state.
fn finisher() -> Self::Symbol
[src]
Get the "flushing" symbol fed in at the end of a stream.
fn symbol(state: usize) -> Self::Symbol
[src]
Convert the given state to a symbol.
fn pair(state: usize, next: usize) -> (Dibit, Dibit)
[src]
Get the dibit pair on the transition from the current state to the next state.