|
COPASI API
4.40.278
|
#include <CTableauMatrix.h>
Public Member Functions | |
| void | addLine (const CTableauLine *src, const bool &check=true) |
| std::list< const CTableauLine * >::iterator | begin () |
| std::list< const CTableauLine * >::const_iterator | begin () const |
| CTableauMatrix () | |
| CTableauMatrix (const std::vector< std::vector< double > > &stoi, const size_t &reversibleNumber) | |
| std::list< const CTableauLine * >::iterator | end () |
| std::list< const CTableauLine * >::const_iterator | end () const |
| void | removeLine (const std::list< const CTableauLine * >::iterator line) |
| size_t | size () const |
| ~CTableauMatrix () | |
Private Member Functions | |
| bool | isValid (const CTableauLine *src) |
Private Attributes | |
| std::list< const CTableauLine * >::iterator | mFirstIrreversible |
| std::list< const CTableauLine * > | mLine |
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, |
| const size_t & | reversibleNumber | ||
| ) |
Specific constructor The first reversibleNumber lines of stoi must be reversible reactions. Note: stoi is actually the transpose of the stoichiometry matrix
| const | std::vector < std::vector < double > > & stoi |
| const | size_t & reversibleNumber |
| void CTableauMatrix::addLine | ( | const CTableauLine * | src, |
| const bool & | check = true |
||
| ) |
Add a line to the matrix
| const | CTableauLine * src |
| const | bool & check (Default: true) |
References CTableauLine::isReversible(), isValid(), mFirstIrreversible, mLine, and pdelete.
Referenced by CEFMAlgorithm::calculateNextTableau().
| std::list< const CTableauLine * >::iterator CTableauMatrix::begin | ( | ) |
Retrieves the first line from the matrix
References mLine.
Referenced by CEFMAlgorithm::buildFluxModes(), CEFMAlgorithm::calculateCombinations(), CEFMAlgorithm::calculateNextTableau(), and CEFMAlgorithm::CSpeciesOrderNode::update().
| std::list< const CTableauLine * >::const_iterator CTableauMatrix::begin | ( | ) | const |
Retrieves the first line from the matrix
References mLine.
| std::list< const CTableauLine * >::iterator CTableauMatrix::end | ( | ) |
Retrieves the last line from the matrix
References mLine.
Referenced by CEFMAlgorithm::buildFluxModes(), CEFMAlgorithm::calculateCombinations(), CEFMAlgorithm::calculateNextTableau(), and CEFMAlgorithm::CSpeciesOrderNode::update().
| std::list< const CTableauLine * >::const_iterator CTableauMatrix::end | ( | ) | const |
Retrieves the last line from the matrix
References mLine.
|
private |
Check whether the new line fullfills the constraints
| const CTableauLine * | src |
References CTableauLine::getScore(), mLine, and removeLine().
Referenced by addLine().
| void CTableauMatrix::removeLine | ( | const std::list< const CTableauLine * >::iterator | line | ) |
Remove the indexed line of the matrix
| list< const CTableauLine * >::const_iterator | line |
References mFirstIrreversible, and mLine.
Referenced by CEFMAlgorithm::calculateNextTableau(), and isValid().
| size_t CTableauMatrix::size | ( | ) | const |
Retrieve the number of tableau lines
References mLine.
Referenced by CEFMAlgorithm::calculateNextTableau().
|
friend |
|
private |
Iterator pointing to the first irreversible reaction
Referenced by addLine(), and removeLine().
|
private |
Vector containing the lines of the Matrix @associates <{CTableauLine}> @supplierCardinality 0..*
Referenced by addLine(), begin(), end(), isValid(), removeLine(), size(), and ~CTableauMatrix().