37 ListElem(
double sval,
double tval,
unsigned int mval,
unsigned int nval,
double denval) :
50 return ((
m < elem.
m) && (
n <= elem.
n));
54 unsigned int mmax = 0;
55 unsigned int nmax = 0;
56 for(std::list<ListElem>::const_iterator it = l.begin(); it != l.end() ; ++it) {
57 if(it->m > mmax) mmax = it->m;
58 if(it->n > nmax) nmax = it->n;
61 for(std::list<ListElem>::const_iterator it = l.begin(); it != l.end(); ++it)
62 if((it->m < mmax) && (it->n < nmax)) {
63 os << it->s <<
" " << it->t <<
" " << it->m <<
" " << it->n <<
" " << it->den <<
endl;
Inform & endl(Inform &inf)
ListElem(double sval, double tval, unsigned int mval, unsigned int nval, double denval)
bool operator<(const ListElem &elem) const
void print(Inform os, const std::list< ListElem > &l)