예제 #1
0
파일: Report.cpp 프로젝트: dailypips/hudson
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);
}
예제 #2
0
 bool operator()(const PositionSet& pset1, const PositionSet& pset2) const { return pset1.size() < pset2.size(); }