ARB
Public Member Functions | List of all members
Distributor Class Reference

Public Member Functions

 Distributor (int xcount_, int dnacount)
 
 Distributor (const Distributor &other)
 
 DECLARE_ASSIGNMENT_OPERATOR (Distributor)
 
 ~Distributor ()
 
void reset ()
 
int operator[] (int off) const
 
int size () const
 
GB_ERROR get_error () const
 
bool next ()
 
bool mayFailTranslation () const
 
int get_score () const
 
bool translates_to_Xs (const char *dna, TransTables allowed, TransTables &remaining) const
 

Detailed Description

Definition at line 293 of file TranslateRealign.cxx.

Constructor & Destructor Documentation

Distributor::Distributor ( int  xcount_,
int  dnacount 
)
inline

Definition at line 348 of file TranslateRealign.cxx.

Referenced by reset().

Distributor::Distributor ( const Distributor other)
inline

Definition at line 365 of file TranslateRealign.cxx.

Distributor::~Distributor ( )
inline

Definition at line 375 of file TranslateRealign.cxx.

Member Function Documentation

Distributor::DECLARE_ASSIGNMENT_OPERATOR ( Distributor  )
void Distributor::reset ( )
inline

Definition at line 380 of file TranslateRealign.cxx.

References Distributor().

int Distributor::operator[] ( int  off) const
inline

Definition at line 382 of file TranslateRealign.cxx.

References ali_assert.

int Distributor::size ( ) const
inline

Definition at line 388 of file TranslateRealign.cxx.

Referenced by distribute_xdata().

GB_ERROR Distributor::get_error ( ) const
inline

Definition at line 390 of file TranslateRealign.cxx.

bool Distributor::next ( )
inline

Definition at line 392 of file TranslateRealign.cxx.

bool Distributor::mayFailTranslation ( ) const
inline

Definition at line 399 of file TranslateRealign.cxx.

Referenced by distribute_xdata().

int Distributor::get_score ( ) const
inline

Definition at line 405 of file TranslateRealign.cxx.

Referenced by distribute_xdata().

bool Distributor::translates_to_Xs ( const char dna,
TransTables  allowed,
TransTables remaining 
) const
inline

checks whether distribution of 'dna' translates to X's

Parameters
dnacompressed dna
allowedallowed translation tables
remainingremaining translation tables
Returns
true if 'dna' translates to X's

Definition at line 414 of file TranslateRealign.cxx.

References ali_assert, AWT_is_codon(), and TransTables::is_subset_of().

Referenced by distribute_xdata().


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