cuSBF
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Functions
Alphabet.cuh File Reference
#include <cuda/std/__bit/integral.h>
#include <cuda_runtime.h>
#include <concepts>
#include <cstdint>

Go to the source code of this file.

Classes

struct  cusbf::DnaAlphabet
 An alphabet for encoding DNA sequences, consisting of the symbols A, C, G, and T. More...
 
struct  cusbf::DnaTripletAlphabet
 An alphabet that encodes non-overlapping DNA triplets as single symbols. More...
 
struct  cusbf::ProteinAlphabet
 An alphabet for encoding protein sequences, consisting of the 20 standard amino acids plus common ambiguous and rare residue symbols: More...
 

Namespaces

namespace  cusbf
 
namespace  cusbf::detail
 

Concepts

concept  cusbf::Alphabet
 Concept for alphabet-like types used to encode bytes as symbol indices.
 

Functions

template<typename T >
consteval uint64_t cusbf::detail::validByteCount ()
 
template<typename T >
consteval bool cusbf::detail::separatorPositionAlwaysEncodesInvalid (char *input, uint64_t separatorPosition, uint64_t index)
 Recursively tests whether placing the separator byte at any position in an input of valid bytes always results in an invalid encoding.
 
template<typename T >
consteval bool cusbf::detail::separatorByteAlwaysEncodesInvalid ()
 Tests that for every position in the input, placing the separator byte at that position always results in an invalid encoding.