eoRealParticle.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
00002 
00003 //-----------------------------------------------------------------------------
00004 // eoRealParticle.h
00005 // (c) OPAC 2007
00006 /*
00007     Contact: paradiseo-help@lists.gforge.inria.fr
00008  */
00009 //-----------------------------------------------------------------------------
00010 
00011 #ifndef _EOREALPARTICLE_H
00012 #define _EOREALPARTICLE_H
00013 
00014 #include <string>
00015 
00016 #include <eoVectorParticle.h>
00017 
00018 
00021 template < class FitT> class eoRealParticle: public eoVectorParticle<FitT,double,double>
00022 
00023 {
00024 public:
00025 
00026         //using eoVectorParticle<FitT,double,double>::size;
00027         
00028     eoRealParticle(unsigned size = 0, double positions = 0.0,double velocities = 0.0,double bestPositions = 0.0): eoVectorParticle<FitT, double,double> (size, positions,velocities,bestPositions) {}
00029 
00030     virtual std::string className() const
00031     {
00032         return "eoRealParticle";
00033     }
00034 };
00035 
00036 #endif /*_EOREALPARTICLE_H*/

Generated on Thu Apr 19 11:02:27 2007 for EO by  doxygen 1.4.7