|
Victor
|
Implement a standard substitution matrix. More...
Inheritance diagram for SubMatrix:
Collaboration diagram for SubMatrix:Public Member Functions | |
| SubMatrix () | |
| Default constructor. | |
| SubMatrix (istream &is) | |
| istream constructor. | |
| SubMatrix (const SubMatrix &orig) | |
| Copy constructor. | |
| virtual | ~SubMatrix () |
| Destructor. | |
| virtual void | buildscore (const string &residues, const vector< vector< int > > &residuescores) |
| Build scoring matrix from raw data. More... | |
| virtual void | copy (const Substitution &orig) |
| Copy orig object to this object ("deep copy"). More... | |
| virtual void | copy (const SubMatrix &orig) |
| Copy orig object to this object ("deep copy"). More... | |
| virtual string | getResidues () const |
| Implementation of abstract class method. | |
| virtual SubMatrix * | newCopy () |
| Construct a new "deep copy" of this object. More... | |
| SubMatrix & | operator= (const SubMatrix &orig) |
| Assignment operator. More... | |
| virtual unsigned int | size () const |
| Return the dimension of the matrix. | |
Static Public Member Functions | |
| template<class T > | |
| static void | pReadDoubleVector (istream &is, vector< vector< T > > &data) |
| Helper function used to read a vector<vector> construct. More... | |
| static void | pWriteDoubleVector (ostream &os, vector< vector< int > > data) |
| Helper function used to write a vector<vector> construct. More... | |
Data Fields | |
| vector< vector< int > > | score |
| Substitution score. | |
Friends | |
| ostream & | operator<< (ostream &os, const SubMatrix &object) |
| Output operator. More... | |
| istream & | operator>> (istream &is, SubMatrix &object) |
| Input operator. More... | |
Implement a standard substitution matrix.
|
virtualinherited |
Build scoring matrix from raw data.
| residues | |
| residuescores |
|
virtualinherited |
Copy orig object to this object ("deep copy").
| orig |
|
virtual |
Copy orig object to this object ("deep copy").
| orig |
|
virtual |
|
staticinherited |
Helper function used to read a vector<vector> construct.
| is | |
| data |
|
staticinherited |
Helper function used to write a vector<vector> construct.
| os | |
| data |
|
friend |
Output operator.
| os | |
| object |
|
friend |
Input operator.
| is | |
| object |