#include <trainingSeq.h>
List of all members.
Detailed Description
Definition at line 53 of file trainingSeq.h.
Member Function Documentation
void trainingSeqs::determineAlphabet |
( |
size_t |
iter | ) |
|
Definition at line 184 of file trainingSeq.cpp.
References MAX_BUFFER.
{
const std::ifstream* file(seqFile[iter]);
std::string temp;
std::string undigitized;
while(getline(*file,temp,'\n')){
if (temp[0]== '>'){
continue;
}
else{
undigitized+=temp;
}
break;
}
}
std::set<std::string> alphabet;
pair<std::set<int>::iterator,bool> ret;
for(size_t i=0;i<undigitized.size();i++){
ret = alphabet.insert(undigitized[i]);
if (ret.second()){
}
}
}
file.seekg(0,std::ios::beg);
file.clear();
return;
}
bool trainingSeqs::eof |
( |
size_t |
iter | ) |
|
|
inline |
int trainingSeqs::fileCount |
( |
| ) |
|
|
inline |
bool trainingSeqs::good |
( |
size_t |
iter | ) |
|
|
inline |
bool trainingSeqs::importMask |
( |
std::string & |
| ) |
|
bool trainingSeqs::importMask |
( |
char ** |
| ) |
|
bool trainingSeqs::is_open |
( |
size_t |
iter | ) |
|
|
inline |
bool trainingSeqs::openFiles |
( |
std::string & |
filename | ) |
|
bool trainingSeqs::openFiles |
( |
char ** |
| ) |
|
int trainingSeqs::queueSize |
( |
size_t |
iter | ) |
|
|
inline |
void trainingSeqs::setAlphabet |
( |
size_t |
iter, |
|
|
stringList & |
lst |
|
) |
| |
Member Data Documentation
std::vector<std::map<std::string, int> > trainingSeqs::alphaIndex |
|
private |
std::vector<std::vector<std::string> > trainingSeqs::indexAlpha |
|
private |
bool trainingSeqs::masked |
|
private |
std::ifstream* trainingSeqs::maskFile |
|
private |
vector<std::ifstream*> trainingSeqs::seqFiles |
|
private |
std::map<int,map<int,int> > transitions std::vector<trainingSeq> trainingSeqs::seqs |
|
private |
std::vector<stateInfo> trainingSeqs::stateEmm |
|
private |
queue<int> trainingSeqs::stateMask |
|
private |
The documentation for this class was generated from the following files: