From ca19a9bfc730e7f903804ed25e16d7c8b5901880 Mon Sep 17 00:00:00 2001 From: jhumeau Date: Mon, 14 Dec 2009 16:49:28 +0000 Subject: [PATCH] Warning removed git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1630 331e1502-861f-0410-8da2-ba01fb791d7f --- .../src/utils/moeoObjectiveVectorNormalizer.h | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/trunk/paradiseo-moeo/src/utils/moeoObjectiveVectorNormalizer.h b/trunk/paradiseo-moeo/src/utils/moeoObjectiveVectorNormalizer.h index 742102ef1..110d3ddac 100644 --- a/trunk/paradiseo-moeo/src/utils/moeoObjectiveVectorNormalizer.h +++ b/trunk/paradiseo-moeo/src/utils/moeoObjectiveVectorNormalizer.h @@ -2,7 +2,7 @@ * * Copyright (C) DOLPHIN Project-Team, INRIA Futurs, 2009 * -* Legillon François +* Legillon François * * * This software is governed by the CeCILL license under French law and @@ -39,11 +39,11 @@ #define MOEOOBJVECNORM_H_ #include #include -/** +/** class to normalize each dimension of objectiveVectors */ template -class moeoObjectiveVectorNormalizer +class moeoObjectiveVectorNormalizer { public: typedef typename MOEOT::ObjectiveVector ObjectiveVector; @@ -75,7 +75,7 @@ class moeoObjectiveVectorNormalizer moeoObjectiveVectorNormalizer(std::vector &_boundaries, Type max_param=100):scale(make_scale_from_bounds(_boundaries,max_param)), max(max_param) {} /** - constructor to create a normalizer from bounds + constructor to create a normalizer from bounds @param _bounds the supplied vectors should have their value in those bounds @param max_param the returned values will be between 0 and max **/ @@ -90,7 +90,7 @@ class moeoObjectiveVectorNormalizer moeoObjectiveVectorNormalizer(const ObjectiveVector &_best,const ObjectiveVector &_worst, Type max_param=100 ):scale(make_scale_from_minmax(_best,_worst,max_param)), max(max_param) {} - + /** * Creates a scale which can be used in conjonction with a normalizer * @param _pop the population to analyse @@ -126,12 +126,12 @@ class moeoObjectiveVectorNormalizer std::vector coefs; if(!max_param){ // std::cout<<"ampmax="< &boundaries){ scale=make_scale_from_bounds(boundaries); } - /** change the scale according to bounds,them same is used in each dimension + /** change the scale according to bounds,them same is used in each dimension @param bounds bounds corresponding to the bounds in each dimension */ void update_by_bounds(const Bounds &bounds){ @@ -279,7 +279,7 @@ class moeoObjectiveVectorNormalizer } - /** + /** updates the scale @param _scale the new scale */