copasi API  0.1
Public Member Functions | Friends
CTableauMatrix Class Reference

#include <CTableauMatrix.h>

List of all members.

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 &)

Detailed Description

CTableauMatrix class. Used to calculate elementary flux modes

Created for Copasi by Stefan Hoops 2002-05-08 (C) Stefan Hoops 2002


Constructor & Destructor Documentation

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

Parameters:
const vector < vector < double > >& stoi
C_INT32 reversibleNumber
CTableauMatrix::~CTableauMatrix ( )

Destructor


Member Function Documentation

void CTableauMatrix::addLine ( const CTableauLine src,
const bool &  check = true 
)

Add a line to the matrix

Parameters:
constCTableauLine * src
constbool & check (Default: true)
std::list< const CTableauLine * >::iterator CTableauMatrix::begin ( )

Retrieves the first line from the matrix

Returns:
list< const CTableauLine * >::iterator begin
std::list< const CTableauLine * >::const_iterator CTableauMatrix::begin ( ) const

Retrieves the first line from the matrix

Returns:
list< const CTableauLine * >::const_iterator begin
std::list< const CTableauLine * >::iterator CTableauMatrix::end ( )

Retrieves the last line from the matrix

Returns:
list< const CTableauLine * >::iterator end
std::list< const CTableauLine * >::const_iterator CTableauMatrix::end ( ) const

Retrieves the last line from the matrix

Returns:
list< const CTableauLine * >::const_iterator end
void CTableauMatrix::removeLine ( const std::list< const CTableauLine * >::iterator  line)

Remove the indexed line of the matrix

Parameters:
list< const CTableauLine * >::const_iteratorline
unsigned C_INT32 CTableauMatrix::size ( ) const

Retrieve the number of tableau lines

Returns:
unsigned C_INT32 size

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CTableauMatrix m 
) [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines