49 dna_->intToChar(state);
57 int i = dna_->charToInt(state);
58 return rna_->intToChar(i);
65 rna_->intToChar(state);
73 int i = rna_->charToInt(state);
74 return dna_->intToChar(i);
An alphabet exception thrown when trying to specify a bad char to the alphabet.
int reverse(int state) const
Translate a given state coded as a int from target alphabet to source alphabet.
This alphabet is used to deal NumericAlphabet.
int translate(int state) const
Translate a given state coded as a int from source alphabet to target alphabet.
An alphabet exception thrown when trying to specify a bad int to the alphabet.