Augustus 3.4.0
|
class representing one row of a SimilarityMatrix More...
#include <pp_simscore.hh>
Public Member Functions | |
Row (int length, int position) | |
Cell & | operator[] (int n) |
int | length () |
Public Attributes | |
Cell * | row |
int | position |
class representing one row of a SimilarityMatrix
Each row represents a column of a block in the protein profile. Each row of the similarity matrix consists of a section of connected cells, the other cells are empty. The length of the section depends on the assumption, that the whole protein profile has to be included in the protein sequence. The class Row contains only such cells, which are not empty. These cells are stored in an array with fixed length. The array can be accessed by [ ] with an index j {0, ..., length-1}. The position in the similarity of the first cell of the row is stored, such that the position in the similarity matrix of each cell can be determined by position + j.
length | number of not empty cells |
position | position of the first non empty cell in the row |