StochHMM
v0.34
Flexible Hidden Markov Model C++ Library and Application
|
#include <hmm.h>
Public Member Functions | |
model * | operator[] (size_t iter) |
size_t | size () |
model * | getModel (size_t) |
void | importModels (std::string &, StateFuncs *) |
void | addModel (model *) |
Private Attributes | |
std::vector< model * > | hmms |
weights * | scaling |
templates * | modelTemplates |
models is a class to store multiple models. This allows StochMM the ability, to load multiple models, then select the model that appropriate for the sequence based on a used-defined attribute. Stores multiple HMM models and contains the get functions for specific models
void StochHMM::models::addModel | ( | model * | ) |
model * StochHMM::models::getModel | ( | size_t | iter | ) |
void StochHMM::models::importModels | ( | std::string & | modelFile, |
StateFuncs * | funcs | ||
) |
Import multiple models
modelFile | Path to multiple model file |
funcs | Pointer to state Functions |
Definition at line 33 of file hmm.cpp.
References hmms.
|
inline |
|
inline |
Get the number of model
Definition at line 465 of file hmm.h.
References hmms.
Referenced by getModel(), and StochHMM::seqTracks::getNext().
|
private |
Definition at line 477 of file hmm.h.
Referenced by getModel(), importModels(), operator[](), and size().