eoFlight.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
00002 
00003 //-----------------------------------------------------------------------------
00004 // eoFlight.h
00005 // (c) OPAC 2007
00006 /*
00007     Contact: paradiseo-help@lists.gforge.inria.fr
00008  */
00009 //-----------------------------------------------------------------------------
00010 
00011 #ifndef EOFLIGHT_H
00012 #define EOFLIGHT_H
00013 
00014 //-----------------------------------------------------------------------------
00015 #include <eoFunctor.h>
00016 #include <utils/eoRealVectorBounds.h>
00017 //-----------------------------------------------------------------------------
00018 
00023 template < class POT > class eoFlight:public eoUF < POT &, void >
00024 {
00025 public:
00026 
00030     virtual void apply (eoPop < POT > &_pop)
00031     {
00032         for (unsigned i = 0; i < _pop.size (); i++)
00033         {
00034             operator  ()(_pop[i]);
00035         }
00036 
00037     }
00038 };
00039 
00040 #endif /*EOFLIGHT_H */

Generated on Fri Jun 22 10:17:02 2007 for EO-PSO by  doxygen 1.4.7