|
cuSBF
|
Concept for alphabet-like types used to encode bytes as symbol indices. More...
Concept for alphabet-like types used to encode bytes as symbol indices.
A type satisfies Alphabet if it provides:
T::symbolCount: number of encoded symbols in the alphabet.T::symbolWidth: number of input bytes consumed per encoded symbol.T::invalidSymbol: sentinel value for invalid symbols.T::separator: sentinel value for separators when concatenating sequences.T::validBytes: null-terminated representative valid input bytes.T::encode(const char*): maps symbolWidth input bytes to a symbol index, or invalidSymbol if the input bytes are not valid in the alphabet.| T | Alphabet type to validate. |
Definition at line 95 of file Alphabet.cuh.