void Report::max_cons_neg( void ) const { if( _rf.num() == 0 ) return; // avoid exception during report PositionSet pset = _rf.max_cons_neg(); cout << "Max cons neg: "; if( pset.empty() ) { cout << 0 << endl; return; } cout << (int)pset.size(); _begin_end(pset); }
bool operator()(const PositionSet& pset1, const PositionSet& pset2) const { return pset1.size() < pset2.size(); }