vdj_pipe
pipeline for processing DNA sequence data
Public Types | Public Member Functions | List of all members
vdj_pipe::Best_match_pair< ID, Score > Class Template Reference

Public Types

typedef ID id_type
 
typedef Score score_type
 

Public Member Functions

id_type const & id1 () const
 
id_type const & id2 () const
 
bool has_score () const
 
score_type score1 () const
 
score_type score2 () const
 
bool is_acceptable (const score_type min_score, const bool require_best) const
 
bool combine (id_type const &id, const score_type score)
 
bool combine (Best_match_pair const &bmp)
 

Member Function Documentation

template<class ID , class Score = int>
bool vdj_pipe::Best_match_pair< ID, Score >::combine ( id_type const &  id,
const score_type  score 
)
inline

keep two best scores and corresponding id-s

Parameters
id
score
Returns
true if new best score was found
template<class ID , class Score = int>
bool vdj_pipe::Best_match_pair< ID, Score >::combine ( Best_match_pair< ID, Score > const &  bmp)
inline

keep two best scores and corresponding id-s

Parameters
bmpthe other best match pair
Returns
true if new best score was found

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