40 #ifndef _INTEGERALPHABET_H_ 41 #define _INTEGERALPHABET_H_ 90 bool isUnresolved(
const std::string& state)
const {
return false; }
94 #endif // _INTEGERALPHABET_H_
unsigned int getSize() const
Get the number of resolved states in the alphabet (e.g. return 4 for DNA alphabet). This is the method you'll need in most cases.
IntegerAlphabet(const IntegerAlphabet &bia)
This alphabet is used to deal NumericAlphabet.
IntegerAlphabet & operator=(const IntegerAlphabet &bia)
IntegerAlphabet * clone() const
AbstractAlphabet & operator=(const AbstractAlphabet &alph)
The Integer Alphabet class, letters are from 0 to a given number, MAX.
A partial implementation of the Alphabet interface.
int getUnknownCharacterCode() const
bool isUnresolved(const std::string &state) const
bool isUnresolved(int state) 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...
virtual ~IntegerAlphabet()
IntegerAlphabet(unsigned int max)
std::string getAlphabetType() const
Identification method.