faif
|
DNA strand with secondary structure. More...
#include <FoldedChain.h>
Public Types | |
typedef boost::scoped_ptr< FoldedMatrix > | FoldedMatrixPtr |
typedef boost::scoped_ptr< FoldedMatrixStrategy > | FoldedMatrixStrategyPtr |
Public Member Functions | |
FoldedChain (const Chain &chain, const EnergyNucleo &energy, unsigned int max_foldings=100) | |
const Chain & | getChain () const |
EnergyValue | getSecStructEnergy () const |
SecStruct | findInDepth () const |
const SecStructures & | getStructures () const |
std::ostream & | printMatrix (std::ostream &os, int print_width=4) const |
std::ostream & | printStructures (std::ostream &os, int print_width=4) const |
DNA strand with secondary structure.
Single DNA strand with secondary structures calculated by given algorithm.
typedef boost::scoped_ptr<FoldedMatrix> faif::dna::FoldedChain::FoldedMatrixPtr |
the support class - holding the matrix with energy and secondary structures
typedef boost::scoped_ptr<FoldedMatrixStrategy> faif::dna::FoldedChain::FoldedMatrixStrategyPtr |
the strategy to access for FoldedMatrix (one or two DNA chains)
|
inline |
accessor
Referenced by faif::dna::operator<<().
|
inline |
the second structure energy. Calculated on the first time, when method is called.
|
inline |
single second structure, algorithm search graph in depth
Referenced by faif::dna::operator<<().
|
inline |
collection of second structures, algorithm search graph in width, the max_foldings parameters restricts the number of structures
|
inline |
print the matrix (for testing and debugging)
|
inline |
print the secondary structures (for testing and debugging)