CycloBranch
cGraphReaderThread Class Reference

The class representing a thread which scans the de novo graph for peptide sequence candidates. More...

#include <cGraphReaderThread.h>

Inheritance diagram for cGraphReaderThread:

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.
 

Detailed Description

The class representing a thread which scans the de novo graph for peptide sequence candidates.

Member Function Documentation

◆ initialize()

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.

Parameters
graphreference to the de novo graph
bricksdatabasewithcombinationsreference to a database of bricks with combinations of bricks
candidatesreference to a set where peptide sequence candidates will be stored
parameterspointer to program parameters
ospointer to the main thread of the application
lastsystemnodeposition of the last system node in the de novo graph
countan output number of peptide sequence candidates
scanmode0 = get candidates; 1 = calculate the number of peptide sequence candidates
terminatecomputationreference to a variable determining that the thread must be stopped

The documentation for this class was generated from the following files: