38 mFirstIrreversible(mLine.end())
42 const size_t & reversibleNumber):
44 mFirstIrreversible(mLine.end())
46 size_t ReactionCounter = 0;
47 size_t ReactionNumber = stoi.size();
49 for (std::vector< std::vector< C_FLOAT64 > >::const_iterator Reaction = stoi.begin();
50 Reaction < stoi.end();
51 Reaction++, ReactionCounter++)
54 (ReactionCounter < reversibleNumber) ?
true :
false,
58 if (ReactionCounter == reversibleNumber)
67 for (std::list< const CTableauLine * >::iterator i =
mLine.begin();
68 i !=
mLine.end(); i++)
73 {
return mLine.size();}
112 mLine.push_back(src);
140 std::list< const CTableauLine * >::iterator i;
141 std::list< const CTableauLine * >::iterator tmp;
144 for (i =
mLine.begin(); i !=
mLine.end(); i++)
145 if ((*i)->getScore() < src->
getScore())
154 if (src->
getScore() < (*i)->getScore())
156 if (i ==
mLine.begin())
178 os <<
"Tableau Matrix: Number of Lines = " << m.
mLine.size() << std::endl;
179 std::list< const CTableauLine * >::const_iterator i;
181 for (i = m.
mLine.begin(); i != m.
mLine.end(); i++)
const CFluxScore & getScore() const
std::list< const CTableauLine * >::iterator begin()
std::list< const CTableauLine * >::iterator end()
std::ostream & operator<<(std::ostream &os, const CTableauMatrix &m)
bool isReversible() const
void removeLine(const std::list< const CTableauLine * >::iterator line)
std::list< const CTableauLine * >::iterator mFirstIrreversible
bool isValid(const CTableauLine *src)
void addLine(const CTableauLine *src, const bool &check=true)
std::list< const CTableauLine * > mLine