bpp-seq  2.2.0
bpp::AlphabetIndex1 Class Referenceabstract

One dimensionnal alphabet index interface. More...

#include <Bpp/Seq/AlphabetIndex/AlphabetIndex1.h>

+ Inheritance diagram for bpp::AlphabetIndex1:
+ Collaboration diagram for bpp::AlphabetIndex1:

Public Member Functions

 AlphabetIndex1 ()
 
virtual ~AlphabetIndex1 ()
 
virtual AlphabetIndex1clone () const =0
 
virtual double getIndex (int state) const =0
 Get the index associated to a state. More...
 
virtual double getIndex (const std::string &state) const =0
 Get the index associated to a state. More...
 
virtual const AlphabetgetAlphabet () const =0
 Get the alphabet associated to this index. More...
 
virtual std::vector< double > * getIndexVector () const =0
 

Detailed Description

One dimensionnal alphabet index interface.

Derivatives of this interface implement properties for a single state.

Definition at line 58 of file AlphabetIndex1.h.

Constructor & Destructor Documentation

◆ AlphabetIndex1()

bpp::AlphabetIndex1::AlphabetIndex1 ( )
inline

Definition at line 62 of file AlphabetIndex1.h.

◆ ~AlphabetIndex1()

virtual bpp::AlphabetIndex1::~AlphabetIndex1 ( )
inlinevirtual

Definition at line 63 of file AlphabetIndex1.h.

Member Function Documentation

◆ clone()

◆ getAlphabet()

◆ getIndex() [1/2]

virtual double bpp::AlphabetIndex1::getIndex ( int  state) const
pure virtual

◆ getIndex() [2/2]

virtual double bpp::AlphabetIndex1::getIndex ( const std::string &  state) const
pure virtual

◆ getIndexVector()


The documentation for this class was generated from the following file: