Sleipnir
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
Sleipnir::CCoalesceGeneScores Class Reference
Inheritance diagram for Sleipnir::CCoalesceGeneScores:
Sleipnir::CCoalesceSequencer< float * > Sleipnir::CCoalesceSequencerBase

Public Member Functions

bool Add (size_t, const CCoalesceMotifLibrary &, const SFASTASequence &, SCoalesceModifierCache &, std::vector< std::vector< float > > &, std::vector< size_t > &)
bool Add (size_t, const CCoalesceMotifLibrary &, const SFASTASequence &, SCoalesceModifierCache &, uint32_t, std::vector< float > &, std::vector< size_t > &)
void Subtract (const SMotifMatch &, size_t)
bool CalculateWeights ()
float * Get (size_t iType, ESubsequence eSubsequence, size_t iGene, bool fSet=false) const
float Get (size_t iType, ESubsequence eSubsequence, size_t iGene, uint32_t iMotif) const
size_t GetMotifs () const
void SetGenes (size_t iGenes)
void Validate () const

Protected Member Functions

float * Get (size_t iType, ESubsequence eSubsequence) const
void Set (size_t iType, ESubsequence eSubsequence, size_t iGene, uint32_t iMotif, float dValue, uint32_t iMotifs=0)
void Grow (uint32_t iMotif, uint32_t iMotifs)

Static Protected Member Functions

static bool Add (const CCoalesceMotifLibrary &, const std::string &, size_t, bool, std::vector< std::vector< float > > &, std::vector< size_t > &, size_t, SCoalesceModifierCache &)
static bool Add (const CCoalesceMotifLibrary &, const std::string &, size_t, bool, uint32_t, std::vector< float > &, std::vector< size_t > &, size_t, SCoalesceModifierCache &)
static void Add (ESubsequence eSubsequence, uint32_t iMotif, uint32_t iMotifs, vector< vector< float > > &vecvecdCounts, float dValue)

Protected Attributes

size_t m_iGenes
size_t m_iMotifs
size_t m_iCapacity
pthread_mutex_t m_mutx
std::vector< std::vector< float > > m_vecvecdWeights

Static Protected Attributes

static const size_t c_iLookahead = 128

Detailed Description

Definition at line 266 of file coalescei.h.


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