ARB
Public Member Functions | Static Public Member Functions | List of all members
PT_Traversal Class Reference

Public Member Functions

 PT_Traversal (const char *oligo_, int needed_positions_, int accept_mismatches_, FamilyStat &fam_stat_)
 
void mark_matching (POS_TREE2 *pt) const
 
int operator() (const DataLoc &loc) const
 
int operator() (const AbsLoc &loc) const
 

Static Public Member Functions

static void restrictMatchesToRegion (int start, int end, int oligo_len)
 
static void unrestrictMatchesToRegion ()
 

Detailed Description

Definition at line 112 of file PT_family.cxx.

Constructor & Destructor Documentation

PT_Traversal::PT_Traversal ( const char oligo_,
int  needed_positions_,
int  accept_mismatches_,
FamilyStat fam_stat_ 
)
inline

Definition at line 161 of file PT_family.cxx.

Referenced by operator()().

Member Function Documentation

static void PT_Traversal::restrictMatchesToRegion ( int  start,
int  end,
int  oligo_len 
)
inlinestatic

Definition at line 154 of file PT_family.cxx.

Referenced by find_family().

static void PT_Traversal::unrestrictMatchesToRegion ( )
inlinestatic

Definition at line 157 of file PT_family.cxx.

Referenced by find_family().

void PT_Traversal::mark_matching ( POS_TREE2 pt) const

Traverse pos(sub)tree through matching branches and increment 'match_count'

Definition at line 212 of file PT_family.cxx.

References POS_TREE2::is_node(), mark_matching(), pt_assert, PT_BASES, PT_N, and PT_read_son().

Referenced by find_family(), and mark_matching().

int PT_Traversal::operator() ( const DataLoc loc) const
inline

Increment match_count for matched postree-tips

Definition at line 171 of file PT_family.cxx.

References PT_Traversal().

int PT_Traversal::operator() ( const AbsLoc loc) const
inline

Increment match_count for matched postree-tips

Definition at line 179 of file PT_family.cxx.

References PT_Traversal().


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