40 #ifndef _ALPHABETSTATE_H_ 41 #define _ALPHABETSTATE_H_ 43 #include <Bpp/Clonable.h> 131 #endif // _ALPHABETSTATE_H_ This is the base class to describe states in an Alphabet.
void setName(const std::string &name)
Set the name of the state.
int getNum() const
Get the state's number.
This alphabet is used to deal NumericAlphabet.
AlphabetState * clone() const
const std::string & getName() const
Get the name of the state.
const std::string & getLetter() const
Get the letter(s) corresponding to the state.
bool operator==(AlphabetState &l2)
operator ==
void setNum(int num)
Set the state's number.
void setLetter(const std::string &letter)
Set the letter(s) of the state.
AlphabetState(int num, const std::string &letter, const std::string &name)