00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- 00002 00003 //----------------------------------------------------------------------------- 00004 // psoApply.h 00005 // (c) OPAC 2007 00006 /* 00007 This library... 00008 00009 Contact: paradiseo-help@lists.gforge.inria.fr, http://paradiseo.gforge.inria.fr 00010 */ 00011 //----------------------------------------------------------------------------- 00012 00013 #ifndef _PSOAPPLY_H 00014 #define _PSOAPPLY_H 00015 00016 //----------------------------------------------------------------------------- 00017 #include <eoFunctor.h> 00018 #include <eoPop.h> 00019 //----------------------------------------------------------------------------- 00020 00024 template < class EOT > void 00025 psoApply (eoUF < eoPop < EOT > &, void >&_proc, eoPop < EOT > &_pop) 00026 { 00027 _proc (_pop); 00028 00029 } 00030 00031 00032 #endif /*_PSOAPPLY_H*/
1.4.7