moeoDominanceMatrix.h has been updated to be complient with gcc version 4.3.2 20081105 (Red Hat 4.3.2-7)

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1298 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jboisson 2008-12-16 09:43:28 +00:00
commit 67e1548acb

View file

@ -63,14 +63,14 @@ public:
* Default constructor with paretoComparator
* @param _nocopy boolean allow to consider copy and doublons as bad element whose were dominated by all other MOEOT
*/
moeoDominanceMatrix(bool _nocopy=false):std::vector < std::vector<bool> >(),comparator(paretoComparator), nocopy(_nocopy) {}
moeoDominanceMatrix(bool _nocopy=false):std::vector < std::vector<bool> >(), nocopy(_nocopy), comparator(paretoComparator) {}
/**
* Constructor which allow to choose the comparator
* @param _nocopy boolean allow to consider copy and doublons as bad element whose were dominated by all other MOEOT
* @param _comparator the comparator you want to use for the comparaison of two MOEOT
*/
moeoDominanceMatrix(moeoObjectiveVectorComparator < ObjectiveVector > & _comparator, bool _nocopy=true):std::vector < std::vector<bool> >(),comparator(_comparator), nocopy(_nocopy) {}
moeoDominanceMatrix(moeoObjectiveVectorComparator < ObjectiveVector > & _comparator, bool _nocopy=true):std::vector < std::vector<bool> >(), nocopy(_nocopy) , comparator(_comparator) {}
/**
* Filling up the Dominance Matrix on one population