copasi API
0.1
|
#include <CTableauMatrix.h>
Public Member Functions | |
CTableauMatrix () | |
CTableauMatrix (const std::vector< std::vector< double > > &stoi, C_INT32 reversibleNumber) | |
~CTableauMatrix () | |
unsigned C_INT32 | size () const |
std::list< const CTableauLine * > ::iterator | begin () |
std::list< const CTableauLine * > ::const_iterator | begin () const |
std::list< const CTableauLine * > ::iterator | end () |
std::list< const CTableauLine * > ::const_iterator | end () const |
void | addLine (const CTableauLine *src, const bool &check=true) |
void | removeLine (const std::list< const CTableauLine * >::iterator line) |
Friends | |
std::ostream & | operator<< (std::ostream &, const CTableauMatrix &) |
CTableauMatrix class. Used to calculate elementary flux modes
Created for Copasi by Stefan Hoops 2002-05-08 (C) Stefan Hoops 2002
CTableauMatrix::CTableauMatrix | ( | ) |
Default constructor
CTableauMatrix class. Used to calculate elementary flux modes
Created for Copasi by Stefan Hoops 2002-05-08 (C) Stefan Hoops 2002
CTableauMatrix::CTableauMatrix | ( | const std::vector< std::vector< double > > & | stoi, |
C_INT32 | reversibleNumber | ||
) |
Specific constructor The first reversibleNumber lines of stoi must be reversible reactions. Note: stoi is actually the transpose of the stoichiometry matrix
const vector < vector < double > > | & stoi |
C_INT32 | reversibleNumber |
CTableauMatrix::~CTableauMatrix | ( | ) |
Destructor
void CTableauMatrix::addLine | ( | const CTableauLine * | src, |
const bool & | check = true |
||
) |
Add a line to the matrix
const | CTableauLine * src |
const | bool & check (Default: true) |
std::list< const CTableauLine * >::iterator CTableauMatrix::begin | ( | ) |
Retrieves the first line from the matrix
std::list< const CTableauLine * >::const_iterator CTableauMatrix::begin | ( | ) | const |
Retrieves the first line from the matrix
std::list< const CTableauLine * >::iterator CTableauMatrix::end | ( | ) |
Retrieves the last line from the matrix
std::list< const CTableauLine * >::const_iterator CTableauMatrix::end | ( | ) | const |
Retrieves the last line from the matrix
void CTableauMatrix::removeLine | ( | const std::list< const CTableauLine * >::iterator | line | ) |
Remove the indexed line of the matrix
list< const CTableauLine * >::const_iterator | line |
unsigned C_INT32 CTableauMatrix::size | ( | ) | const |
Retrieve the number of tableau lines
std::ostream& operator<< | ( | std::ostream & | os, |
const CTableauMatrix & | m | ||
) | [friend] |