Augustus 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SegProbs Class Reference

another class for caching probabilities of sequence segments More...

#include <statemodel.hh>

Public Member Functions

 SegProbs (const char *dna, int k, bool forwardStrand=true)
 
void setEmiProbs (vector< Double > *emiprobs, int from=-1, int to=-1)
 
Double getSeqProb (int from, int to)
 
int getN ()
 

Protected Attributes

const char * dna
 
int n
 
int k
 
Seq2Int s2i
 
vector< Double > * emiprobs
 
DoublecumProds
 
bool forwardStrand
 

Detailed Description

another class for caching probabilities of sequence segments

idea: cumulative product => get segment prob in constant time via a ratio

Author
Emmanouil Stafilarakis
Mario Stanke

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