MASA-Core
Public Member Functions | Private Member Functions | Private Attributes
BestScoreList Class Reference

Detailed Description

Definition at line 41 of file BestScoreList.hpp.

#include <BestScoreList.hpp>

List of all members.

Public Member Functions

 BestScoreList (int limit, int min_score, int seq0_len, int seq1_len, const score_params_t *score_params)
virtual ~BestScoreList ()
void add (int i, int j, int score)
score_t getBestScore () const

Private Member Functions

bool isDerived (const score_t best, const score_t score)
bool isAllowed (const score_t best, const score_t score)
void _add (int i, int j, int score)

Private Attributes

int limit
int min_score
int seq0_len
int seq1_len
const score_params_tscore_params
pthread_mutex_t mutex

Constructor & Destructor Documentation

BestScoreList::BestScoreList ( int  limit,
int  min_score,
int  seq0_len,
int  seq1_len,
const score_params_t score_params 
)

Definition at line 43 of file BestScoreList.cpp.

Definition at line 54 of file BestScoreList.cpp.


Member Function Documentation

void BestScoreList::_add ( int  i,
int  j,
int  score 
) [private]

Definition at line 129 of file BestScoreList.cpp.

void BestScoreList::add ( int  i,
int  j,
int  score 
)

Definition at line 123 of file BestScoreList.cpp.

Definition at line 59 of file BestScoreList.cpp.

bool BestScoreList::isAllowed ( const score_t  best,
const score_t  score 
) [private]

Definition at line 113 of file BestScoreList.cpp.

bool BestScoreList::isDerived ( const score_t  best,
const score_t  score 
) [private]

Definition at line 72 of file BestScoreList.cpp.


Member Data Documentation

int BestScoreList::limit [private]

Definition at line 48 of file BestScoreList.hpp.

int BestScoreList::min_score [private]

Definition at line 49 of file BestScoreList.hpp.

pthread_mutex_t BestScoreList::mutex [private]

Definition at line 55 of file BestScoreList.hpp.

Definition at line 52 of file BestScoreList.hpp.

int BestScoreList::seq0_len [private]

Definition at line 50 of file BestScoreList.hpp.

int BestScoreList::seq1_len [private]

Definition at line 51 of file BestScoreList.hpp.


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