OpenStructure
Loading...
Searching...
No Matches
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 Real * GetWeights (int pos) const
 
Real GetWeight (int pos, char olc)
 
const Real * GetPseudoCounts () 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() [1/2]

ContextProfile ( int  length)
inline

Definition at line 36 of file hmm_pseudo_counts.hh.

◆ ContextProfile() [2/2]

ContextProfile ( int  length,
Real *  data 
)
inline

Definition at line 39 of file hmm_pseudo_counts.hh.

Member Function Documentation

◆ DataSize()

static int DataSize ( int  length)
inlinestatic

Definition at line 103 of file hmm_pseudo_counts.hh.

◆ GetBias()

Real GetBias ( ) const
inline

Definition at line 97 of file hmm_pseudo_counts.hh.

◆ GetData()

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

Definition at line 99 of file hmm_pseudo_counts.hh.

◆ GetLength()

int GetLength ( ) const
inline

Definition at line 101 of file hmm_pseudo_counts.hh.

◆ GetPseudoCount()

Real GetPseudoCount ( char  olc)
inline

Definition at line 88 of file hmm_pseudo_counts.hh.

◆ GetPseudoCounts()

const Real * GetPseudoCounts ( ) const
inline

Definition at line 86 of file hmm_pseudo_counts.hh.

◆ GetWeight()

Real GetWeight ( int  pos,
char  olc 
)
inline

Definition at line 74 of file hmm_pseudo_counts.hh.

◆ GetWeights()

const Real * GetWeights ( int  pos) const
inline

Definition at line 67 of file hmm_pseudo_counts.hh.

◆ SetBias()

void SetBias ( Real  bias)
inline

Definition at line 65 of file hmm_pseudo_counts.hh.

◆ SetPseudoCount()

void SetPseudoCount ( char  olc,
Real  count 
)
inline

Definition at line 56 of file hmm_pseudo_counts.hh.

◆ SetWeight()

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: