47 for (
int i = 0; i < static_cast<int>(alphabet->getSize()); ++i) {
51 states_.push_back(alphabet->getGapCharacterCode());
67 for (
unsigned int j = 0; j < nbClasses; ++j) {
virtual int getAlphabetStateAsInt(size_t index) const =0
virtual size_t getNumberOfModelStates() const =0
MarkovModulatedStateMap(const StateMap &unitMap, unsigned int nbClasses)
virtual const Alphabet * getAlphabet() const =0
CanonicalStateMap(const Alphabet *alphabet, bool includeGaps)
Map the states of a given alphabet which have a model state.
std::vector< int > states_
A convenience partial implementation of the StateMap interface.