Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

trashremovealgo.cc

Go to the documentation of this file.
00001 #include "trashremovealgo.h"
00002 
00003 void TrashRemoveAlgo::start()
00004 {
00005   if ( getMAl()->get_num_seq() == 0 ) {
00006 //     cerr<<"Nothing to be done here! "<<endl;
00007     return;
00008   }
00009 
00010   //This can be done much more efficiently, removing stuff 
00011   //directly in the db instead. Oh, well...
00012 
00013   int num(0);
00014   for( size_t i = 0; i < getMAl()->get_num_seq(); i++ ) {
00015     getMAl()->set_beginGood(i, 0);
00016     getMAl()->set_endGood(i, getMAl()->get_seq_end(i));
00017     
00018   }
00019 
00020 }

Generated on Fri Mar 17 17:44:24 2006 for trapper by  doxygen 1.4.4