42 #ifndef _ALPHABETINDEX1_H_ 43 #define _ALPHABETINDEX1_H_ 45 #include "../Alphabet/Alphabet.h" 46 #include <Bpp/Clonable.h> 59 public virtual Clonable
74 virtual double getIndex(
int state)
const = 0;
82 virtual double getIndex(
const std::string& state)
const = 0;
98 #endif // _ALPHABETINDEX1_H_ This alphabet is used to deal NumericAlphabet.
virtual AlphabetIndex1 * clone() const =0
One dimensionnal alphabet index interface.
virtual std::vector< double > * getIndexVector() const =0
virtual ~AlphabetIndex1()
virtual const Alphabet * getAlphabet() const =0
Get the alphabet associated to this index.
virtual double getIndex(int state) const =0
Get the index associated to a state.