diff --git a/branches/paradiseo-moeo-1.0/src/moeoEA.h b/branches/paradiseo-moeo-1.0/src/moeoEA.h index 901dba540..36d115ead 100644 --- a/branches/paradiseo-moeo-1.0/src/moeoEA.h +++ b/branches/paradiseo-moeo-1.0/src/moeoEA.h @@ -14,12 +14,13 @@ #define MOEOEA_H_ #include +#include /** * Abstract class for multi-objective evolutionary algorithms. */ template < class MOEOT > -class moeoEA : public eoAlgo < MOEOT > {}; +class moeoEA : public moeoAlgo, public eoAlgo < MOEOT > {}; #endif /*MOEOEA_H_*/ diff --git a/branches/paradiseo-moeo-1.0/src/moeoLS.h b/branches/paradiseo-moeo-1.0/src/moeoLS.h index 41edcccd6..5fa86308f 100644 --- a/branches/paradiseo-moeo-1.0/src/moeoLS.h +++ b/branches/paradiseo-moeo-1.0/src/moeoLS.h @@ -14,6 +14,7 @@ #define MOEOLS_H_ #include +#include #include /** @@ -21,7 +22,7 @@ * Starting from a Type (i.e.: an individual, a pop, an archive...), it produces a set of new non-dominated solutions. */ template < class MOEOT, class Type > -class moeoLS: public eoBF < Type, moeoArchive < MOEOT > &, void > +class moeoLS: public moeoAlgo, public eoBF < Type, moeoArchive < MOEOT > &, void > {}; #endif /*MOEOLS_H_*/