Struct p25::coding::trellis::TribitStates
[−]
[src]
pub struct TribitStates;
3/4-rate state machine (tribit input).
Trait Implementations
impl States for TribitStates
[src]
type Symbol = Tribit
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: Tribit) -> 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.