StochHMM
v0.34
Flexible Hidden Markov Model C++ Library and Application
|
#include <track.h>
Public Member Functions | |
void | push_back (track *) |
size_t | indexOf (const std::string &) |
size_t | size () |
track * | getTrack (const std::string &) |
bool | isTrackDefined (const std::string &) |
track * | operator[] (size_t i) |
void | print () |
Print the each track in tracks to stdout. | |
std::string | stringify () |
Private Attributes | |
std::vector< track * > | trks |
std::map< std::string, size_t > | index |
track * StochHMM::tracks::getTrack | ( | const std::string & | name | ) |
Get pointer to track from the track name
name | Name of the track |
Definition at line 542 of file track.cpp.
Referenced by StochHMM::transition::_parseLexical(), StochHMM::model::getTrack(), StochHMM::transitionFuncParam::parse(), StochHMM::emm::parse(), and StochHMM::emissionFuncParam::parse().
size_t StochHMM::tracks::indexOf | ( | const std::string & | name | ) |
Get iterator index of track by tracks name
name | Name of the track |
Definition at line 529 of file track.cpp.
References index, and SIZE_MAX.
Referenced by StochHMM::model::getTrackIter().
bool StochHMM::tracks::isTrackDefined | ( | const std::string & | name | ) |
Definition at line 551 of file track.cpp.
References index.
Referenced by StochHMM::emm::_processTags().
|
inline |
void StochHMM::tracks::print | ( | ) |
Print the each track in tracks to stdout.
Definition at line 560 of file track.cpp.
References stringify().
void StochHMM::tracks::push_back | ( | track * | tk | ) |
Add track to tracks container
tk | Pointer to track to be added |
Definition at line 511 of file track.cpp.
References StochHMM::track::getName(), index, StochHMM::track::name, and trks.
Referenced by StochHMM::model::_parseTracks(), and StochHMM::model::addTrack().
|
inline |
Definition at line 295 of file track.h.
References trks.
Referenced by StochHMM::model::_parseTracks(), StochHMM::model::getTrack(), StochHMM::sequences::sequences(), and StochHMM::model::track_size().
std::string StochHMM::tracks::stringify | ( | ) |
Get string representation of each track in tracks
Definition at line 566 of file track.cpp.
References trks.
Referenced by StochHMM::model::_stringifyTracks(), and print().
|
private |
Definition at line 305 of file track.h.
Referenced by getTrack(), indexOf(), isTrackDefined(), and push_back().
|
private |
Definition at line 304 of file track.h.
Referenced by getTrack(), operator[](), push_back(), size(), and stringify().