OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
ContextProfile Class Reference

#include <hmm_pseudo_counts.hh>

Public Member Functions

 ContextProfile (int length)
 
 ContextProfile (int length, Real *data)
 
void SetWeight (int pos, char olc, Real weight)
 
void SetPseudoCount (char olc, Real count)
 
void SetBias (Real bias)
 
const RealGetWeights (int pos) const
 
Real GetWeight (int pos, char olc)
 
const RealGetPseudoCounts () const
 
Real GetPseudoCount (char olc)
 
Real GetBias () const
 
const std::vector< Real > & GetData () const
 
int GetLength () const
 

Static Public Member Functions

static int DataSize (int length)
 

Detailed Description

Definition at line 32 of file hmm_pseudo_counts.hh.

Constructor & Destructor Documentation

ContextProfile ( int  length)
inline

Definition at line 36 of file hmm_pseudo_counts.hh.

ContextProfile ( int  length,
Real data 
)
inline

Definition at line 39 of file hmm_pseudo_counts.hh.

Member Function Documentation

static int DataSize ( int  length)
inlinestatic

Definition at line 103 of file hmm_pseudo_counts.hh.

Real GetBias ( ) const
inline

Definition at line 97 of file hmm_pseudo_counts.hh.

const std::vector<Real>& GetData ( ) const
inline

Definition at line 99 of file hmm_pseudo_counts.hh.

int GetLength ( ) const
inline

Definition at line 101 of file hmm_pseudo_counts.hh.

Real GetPseudoCount ( char  olc)
inline

Definition at line 88 of file hmm_pseudo_counts.hh.

const Real* GetPseudoCounts ( ) const
inline

Definition at line 86 of file hmm_pseudo_counts.hh.

Real GetWeight ( int  pos,
char  olc 
)
inline

Definition at line 74 of file hmm_pseudo_counts.hh.

const Real* GetWeights ( int  pos) const
inline

Definition at line 67 of file hmm_pseudo_counts.hh.

void SetBias ( Real  bias)
inline

Definition at line 65 of file hmm_pseudo_counts.hh.

void SetPseudoCount ( char  olc,
Real  count 
)
inline

Definition at line 56 of file hmm_pseudo_counts.hh.

void SetWeight ( int  pos,
char  olc,
Real  weight 
)
inline

Definition at line 44 of file hmm_pseudo_counts.hh.


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