diff --git a/trunk/paradiseo-peo/src/peoData.h b/trunk/paradiseo-peo/src/peoData.h deleted file mode 100644 index 3431a9b39..000000000 --- a/trunk/paradiseo-peo/src/peoData.h +++ /dev/null @@ -1,37 +0,0 @@ - - -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -//----------------------------------------------------------------------------- -// peoData.h -// (c) GeNeura Team, 1998 -/* - */ -//----------------------------------------------------------------------------- - -#ifndef _PEODATA_H -#define _PEODATA_H - - -class peoData { -public: - - virtual void pack () {} - virtual void unpack () {} - -}; - - -#endif - - - - - - - - - - - - diff --git a/trunk/paradiseo-peo/src/peoPop.h b/trunk/paradiseo-peo/src/peoPop.h deleted file mode 100644 index f12ee1246..000000000 --- a/trunk/paradiseo-peo/src/peoPop.h +++ /dev/null @@ -1,68 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -//----------------------------------------------------------------------------- -// peoPop.h -// (c) GeNeura Team, 1998 -/* - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: todos@geneura.ugr.es, http://geneura.ugr.es - */ -//----------------------------------------------------------------------------- - -#ifndef _peoPop_H -#define _peoPop_H - -#include -#include -#include -#include // needed for GCC 3.2 -#include - -// EO includes -#include // for eoInit -#include -#include -#include // for shuffle method - -#include "core/eoVector_mesg.h" -#include "core/messaging.h" - - -template -class peoPop: public eoPop, public peoData -{ -public: - - virtual void pack () - { - ::pack ((unsigned) this->size ()); - for (unsigned i = 0; i < this->size (); i ++) - ::pack ((*this)[i]); - } - - virtual void unpack () - { - unsigned n; - ::unpack (n); - this->resize (n); - for (unsigned i = 0; i < n; i ++) - ::unpack ((*this)[i]); - } - -}; - -#endif -