bpp-phyl
2.2.0
|
Map the states of a given alphabet which have a model state. More...
#include <Bpp/Phyl/Model/StateMap.h>
Public Member Functions | |
virtual | ~StateMap () |
virtual StateMap * | clone () const =0 |
virtual const Alphabet * | getAlphabet () const =0 |
virtual size_t | getNumberOfModelStates () const =0 |
virtual const std::vector< int > & | getAlphabetStates () const =0 |
virtual std::string | getAlphabetStateAsChar (size_t index) const =0 |
virtual int | getAlphabetStateAsInt (size_t index) const =0 |
virtual std::vector< size_t > | getModelStates (const std::string &code) const =0 |
virtual std::vector< size_t > | getModelStates (int code) const =0 |
Map the states of a given alphabet which have a model state.
Definition at line 58 of file StateMap.h.
|
inlinevirtual |
Definition at line 62 of file StateMap.h.
|
pure virtual |
|
pure virtual |
Implemented in bpp::AbstractStateMap.
Referenced by bpp::CanonicalStateMap::CanonicalStateMap().
|
pure virtual |
index | The model state. |
Implemented in bpp::AbstractStateMap.
|
pure virtual |
index | The model state. |
Implemented in bpp::AbstractStateMap.
Referenced by bpp::CanonicalStateMap::CanonicalStateMap(), bpp::FullPerAACodonFrequenciesSet::FullPerAACodonFrequenciesSet(), bpp::MarkovModulatedStateMap::MarkovModulatedStateMap(), bpp::FullPerAACodonFrequenciesSet::setFrequencies(), and bpp::FullPerAACodonFrequenciesSet::updateFrequencies().
|
pure virtual |
Implemented in bpp::AbstractStateMap.
|
pure virtual |
code | The character code of the alphabet state to check. |
Implemented in bpp::AbstractStateMap.
|
pure virtual |
code | The int code of the alphabet state to check. |
Implemented in bpp::AbstractStateMap.
|
pure virtual |
Implemented in bpp::AbstractStateMap.
Referenced by bpp::CanonicalStateMap::CanonicalStateMap(), bpp::FixedFrequenciesSet::FixedFrequenciesSet(), bpp::FullFrequenciesSet::FullFrequenciesSet(), bpp::FullPerAACodonFrequenciesSet::FullPerAACodonFrequenciesSet(), bpp::MarkovModulatedStateMap::MarkovModulatedStateMap(), bpp::FullPerAACodonFrequenciesSet::setFrequencies(), and bpp::FullPerAACodonFrequenciesSet::updateFrequencies().