CycloBranch
|
The class representing a thread which scans the de novo graph for peptide sequence candidates. More...
#include <cGraphReaderThread.h>
Public Member Functions | |
cGraphReaderThread () | |
The constructor. | |
void | initialize (vector< cDeNovoGraphNode > &graph, cBricksDatabase &bricksdatabasewithcombinations, cCandidateSet &candidates, cParameters *parameters, cMainThread *os, int lastsystemnode, long long unsigned &count, int scanmode, bool &terminatecomputation) |
Initialize the graph reader. More... | |
Protected Member Functions | |
void | run () |
The main method of the thread. | |
The class representing a thread which scans the de novo graph for peptide sequence candidates.
void cGraphReaderThread::initialize | ( | vector< cDeNovoGraphNode > & | graph, |
cBricksDatabase & | bricksdatabasewithcombinations, | ||
cCandidateSet & | candidates, | ||
cParameters * | parameters, | ||
cMainThread * | os, | ||
int | lastsystemnode, | ||
long long unsigned & | count, | ||
int | scanmode, | ||
bool & | terminatecomputation | ||
) |
Initialize the graph reader.
graph | reference to the de novo graph |
bricksdatabasewithcombinations | reference to a database of bricks with combinations of bricks |
candidates | reference to a set where peptide sequence candidates will be stored |
parameters | pointer to program parameters |
os | pointer to the main thread of the application |
lastsystemnode | position of the last system node in the de novo graph |
count | an output number of peptide sequence candidates |
scanmode | 0 = get candidates; 1 = calculate the number of peptide sequence candidates |
terminatecomputation | reference to a variable determining that the thread must be stopped |