5 #ifndef BPP_SEQ_ALPHABET_DEFAULTALPHABET_H
6 #define BPP_SEQ_ALPHABET_DEFAULTALPHABET_H
49 unsigned int getSize()
const {
return 26; }
54 bool isUnresolved(
const std::string& state)
const {
return false; }
The DefaultAlphabet class.
DefaultAlphabet * clone() const
bool isUnresolved(int state) const
bool isUnresolved(const std::string &state) const
int getUnknownCharacterCode() const
unsigned int getNumberOfTypes() const
Get the number of distinct states in alphabet (e.g. return 15 for DNA alphabet). This is the number o...
unsigned int getSize() const
Get the number of resolved states in the alphabet (e.g. return 4 for DNA alphabet)....
virtual ~DefaultAlphabet()
DefaultAlphabet & operator=(const DefaultAlphabet &bia)
DefaultAlphabet(const DefaultAlphabet &bia)
std::string getAlphabetType() const
Identification method.
Specialized partial implementation of Alphabet using single letters.
LetterAlphabet & operator=(const LetterAlphabet &bia)
This alphabet is used to deal NumericAlphabet.