5 #ifndef BPP_NUMERIC_HMM_HMMSTATEALPHABET_H 6 #define BPP_NUMERIC_HMM_HMMSTATEALPHABET_H 9 #include "../../Exceptions.h" 10 #include "../Parametrizable.h" 21 class StateChangedEvent;
77 states_[0] = stateIndex;
82 const std::vector<unsigned int>&
getStates()
const {
return states_; }
83 std::vector<unsigned int>&
getStates() {
return states_; }
86 #endif // BPP_NUMERIC_HMM_HMMSTATEALPHABET_H
virtual bool worksWith(const HmmStateAlphabet &stateAlphabet) const =0
Tell if this instance can work with the instance of alphabet given as input.
std::vector< unsigned int > & getStates()
const std::vector< unsigned int > & getStates() const
This is the interface for all objects that imply parameters.
std::vector< unsigned int > states_
StateChangedEvent(std::vector< unsigned int > &states)
virtual const Clonable & getState(size_t stateIndex) const =0
virtual HmmStateAlphabet * clone() const override=0
Create a copy of this object and send a pointer to it.
virtual size_t getNumberOfStates() const =0
The Clonable interface (allow an object to be cloned).
StateChangedEvent(unsigned int stateIndex)
virtual ~HmmStateAlphabet()