5 #ifndef BPP_SEQ_ALPHABET_ALPHABETSTATE_H
6 #define BPP_SEQ_ALPHABET_ALPHABETSTATE_H
This is the base class to describe states in an Alphabet.
void setNum(int num)
Set the state's number.
const std::string & getName() const
Get the name of the state.
AlphabetState * clone() const
const std::string & getLetter() const
Get the letter(s) corresponding to the state.
int getNum() const
Get the state's number.
void setName(const std::string &name)
Set the name of the state.
AlphabetState(int num, const std::string &letter, const std::string &name)
void setLetter(const std::string &letter)
Set the letter(s) of the state.
bool operator==(AlphabetState &l2)
operator ==
This alphabet is used to deal NumericAlphabet.