Augustus 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SS::Row Class Reference

class representing one row of a SimilarityMatrix More...

#include <pp_simscore.hh>

Public Member Functions

 Row (int length, int position)
 
Celloperator[] (int n)
 
int length ()
 

Public Attributes

Cellrow
 
int position
 

Detailed Description

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.

Parameters
lengthnumber of not empty cells
positionposition of the first non empty cell in the row
Author
Lars Gabriel

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