From ffb683368f299d09da928898e45db56631d9993b Mon Sep 17 00:00:00 2001 From: tlegrand Date: Mon, 12 Nov 2007 15:48:56 +0000 Subject: [PATCH] indented file --- eo/src/eoInitializer.h | 76 +++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/eo/src/eoInitializer.h b/eo/src/eoInitializer.h index 4caca52a..d1f14793 100644 --- a/eo/src/eoInitializer.h +++ b/eo/src/eoInitializer.h @@ -20,7 +20,7 @@ Contact: clive.canape@inria.fr - + */ //----------------------------------------------------------------------------- @@ -38,11 +38,11 @@ */ template class eoInitializerBase : public eoFunctorBase { - public : +public : - virtual ~eoInitializerBase() {} + virtual ~eoInitializerBase() {} - virtual void operator()(){}; + virtual void operator()(){}; }; /** @@ -52,45 +52,45 @@ template class eoInitializerBase : public eoFunctorBase */ template class eoInitializer : public eoInitializerBase { - public: +public: - //! Constructor - //! @param _proc Evaluation function - //! @param _initVelo Initialization of the velocity - //! @param _initBest Initialization of the best - //! @param _pop Population - eoInitializer( - eoUF& _proc, - eoVelocityInit < POT > &_initVelo, - eoParticleBestInit &_initBest, - eoPop < POT > &_pop - ) : proc(_proc), initVelo(_initVelo), initBest(_initBest) - { - apply(proc, _pop); + //! Constructor + //! @param _proc Evaluation function + //! @param _initVelo Initialization of the velocity + //! @param _initBest Initialization of the best + //! @param _pop Population + eoInitializer( + eoUF& _proc, + eoVelocityInit < POT > &_initVelo, + eoParticleBestInit &_initBest, + eoPop < POT > &_pop + ) : proc(_proc), initVelo(_initVelo), initBest(_initBest) + { + apply(proc, _pop); apply < POT > (initVelo, _pop); - apply < POT > (initBest, _pop); - } - - //! Give the name of the class - //! @return The name of the class - virtual std::string className (void) const + apply < POT > (initBest, _pop); + } + + //! Give the name of the class + //! @return The name of the class + virtual std::string className (void) const { return "eoInitializer"; } - - private : - - /* - @param proc First evaluation - @param initVelo Initialization of the velocity - @param initBest Initialization of the best - - */ - eoUF& proc; - eoVelocityInit < POT > & initVelo; - eoParticleBestInit & initBest; + +private : + + /* + @param proc First evaluation + @param initVelo Initialization of the velocity + @param initBest Initialization of the best + + */ + eoUF& proc; + eoVelocityInit < POT > & initVelo; + eoParticleBestInit & initBest; }; #endif - - + +