add inhertis moeoAlgo
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@357 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
345c1ca0e1
commit
f4e2451762
2 changed files with 4 additions and 2 deletions
|
|
@ -14,12 +14,13 @@
|
|||
#define MOEOEA_H_
|
||||
|
||||
#include <eoAlgo.h>
|
||||
#include <moeoAlgo.h>
|
||||
|
||||
/**
|
||||
* 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_*/
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
#define MOEOLS_H_
|
||||
|
||||
#include <eoFunctor.h>
|
||||
#include <moeoAlgo.h>
|
||||
#include <moeoArchive.h>
|
||||
|
||||
/**
|
||||
|
|
@ -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_*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue