From ab01ec6e7957ec98d2f0d5798466b33bc9b79d1b Mon Sep 17 00:00:00 2001 From: jhumeau Date: Thu, 25 Jun 2009 14:41:21 +0000 Subject: [PATCH] git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1591 331e1502-861f-0410-8da2-ba01fb791d7f --- contribution/branches/MOLS/src2/moeoDMLSArchive.h | 2 +- contribution/branches/MOLS/src2/moeoNewBoundedArchive.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/contribution/branches/MOLS/src2/moeoDMLSArchive.h b/contribution/branches/MOLS/src2/moeoDMLSArchive.h index 2f9c329f4..10be7c888 100644 --- a/contribution/branches/MOLS/src2/moeoDMLSArchive.h +++ b/contribution/branches/MOLS/src2/moeoDMLSArchive.h @@ -71,7 +71,7 @@ public: * Ctor * @param _comparator the moeoObjectiveVectorComparator used to compare solutions */ - moeoDMLSArchive(moeoObjectiveVectorComparator < ObjectiveVector > & _comparator) : eoPop < MOEOT >(), comparator(_comparator), isModified(false) + moeoDMLSArchive(moeoObjectiveVectorComparator < ObjectiveVector > & _comparator) : moeoArchive < MOEOT >(), comparator(_comparator), isModified(false) {} diff --git a/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h b/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h index dd6936bb4..c45ff141e 100644 --- a/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h +++ b/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h @@ -83,6 +83,10 @@ private: /** Max size of archive*/ unsigned int maxSize; + bool update(const eoPop < MOEOT > & _pop){ + return true; + } + /** * Updates the archive with a given individual _moeo *** NEW *** * @param _moeo the given individual