Rosetta
Public Member Functions | Private Types | Private Attributes | Friends | List of all members
core::sequence::DP_Matrix Class Reference

#include <DP_Matrix.hh>

Inheritance diagram for core::sequence::DP_Matrix:
Inheritance graph
[legend]

Public Member Functions

 DP_Matrix (Size rs, Size cs)
 
 ~DP_Matrix () override
 
void clear ()
 
CellOP operator() (Size row, Size col) const
 
Size rows () const
 
Size cols () const
 
void xlab (utility::vector1< char > const &xs)
 
void ylab (utility::vector1< char > const &ys)
 
utility::vector1< char > xlab () const
 
utility::vector1< char > ylab () const
 

Private Types

typedef utility::pointer::shared_ptr< CellCellOP
 
typedef utility::vector1< CellOPRow
 
typedef utility::vector1< utility::vector1< CellOP > > Matrix
 

Private Attributes

Matrix scoring_matrix_
 
utility::vector1< char > xlabels_
 
utility::vector1< char > ylabels_
 

Friends

std::ostream & operator<< (std::ostream &out, const DP_Matrix &m)
 

Member Typedef Documentation

◆ CellOP

typedef utility::pointer::shared_ptr< Cell > core::sequence::DP_Matrix::CellOP
private

◆ Matrix

typedef utility::vector1< utility::vector1< CellOP > > core::sequence::DP_Matrix::Matrix
private

◆ Row

typedef utility::vector1< CellOP > core::sequence::DP_Matrix::Row
private

Constructor & Destructor Documentation

◆ DP_Matrix()

core::sequence::DP_Matrix::DP_Matrix ( Size  rs,
Size  cs 
)
inline

◆ ~DP_Matrix()

core::sequence::DP_Matrix::~DP_Matrix ( )
overridedefault

Member Function Documentation

◆ clear()

void core::sequence::DP_Matrix::clear ( )

◆ cols()

Size core::sequence::DP_Matrix::cols ( ) const

◆ operator()()

CellOP core::sequence::DP_Matrix::operator() ( Size  row,
Size  col 
) const

References cols(), rows(), and scoring_matrix_.

◆ rows()

Size core::sequence::DP_Matrix::rows ( ) const

◆ xlab() [1/2]

vector1< char > core::sequence::DP_Matrix::xlab ( ) const

References xlabels_.

◆ xlab() [2/2]

void core::sequence::DP_Matrix::xlab ( utility::vector1< char > const &  xs)

◆ ylab() [1/2]

vector1< char > core::sequence::DP_Matrix::ylab ( ) const

References ylabels_.

◆ ylab() [2/2]

void core::sequence::DP_Matrix::ylab ( utility::vector1< char > const &  ys)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const DP_Matrix m 
)
friend

Member Data Documentation

◆ scoring_matrix_

Matrix core::sequence::DP_Matrix::scoring_matrix_
private

Referenced by clear(), cols(), DP_Matrix(), operator()(), and rows().

◆ xlabels_

utility::vector1< char > core::sequence::DP_Matrix::xlabels_
private

Referenced by xlab().

◆ ylabels_

utility::vector1< char > core::sequence::DP_Matrix::ylabels_
private

Referenced by ylab().


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