30 #ifndef SIMILARITYMATRIX_H 31 #define SIMILARITYMATRIX_H void defaultNTDegeneratedSimMatrix()
Method to load the default DEG NT similarity matrix.
void printMatrix()
Method to print the loaded matrix.
void defaultAASimMatrix()
Method to load the default AA similarity matrix.
void memoryDeletion()
Method to deallocate memory allocated on the similarityMatrix::memoryAllocation method. It makes use of the numPositions to effectively remove the memory.
void alternativeSimilarityMatrices(int matrix_code, int datatype)
Method to load alternative similarity matrices also included on the suite. Currently, only one type of alternative matrix is available: matrix_code: 1 datatype SequenceTypes::AA.
float getDistance(char a, char b)
Method to get the similarity distance between two residues, A and B Characters provided must be both ...
~similarityMatrix()
Destructor.
bool loadSimMatrix(char *filename)
Method to load a custom matrix.
Class that contains information of similarity matrices. These are used to calculate the similarity be...
void defaultNTSimMatrix()
Method to load the default NT similarity matrix.
Namespace containing all classes related to statistics handling.
void memoryAllocation(int nPos)
Method to allocate memory for the similiarity matrix.
similarityMatrix()
Constructor.