Augustus 3.4.0
|
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 |
Double * | cumProds |
bool | forwardStrand |
another class for caching probabilities of sequence segments
idea: cumulative product => get segment prob in constant time via a ratio