git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1454 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
5608b4546d
commit
69574c293a
3 changed files with 5 additions and 7 deletions
|
|
@ -29,13 +29,13 @@
|
|||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <cfstream>
|
||||
#include <eoContinue.h>
|
||||
/**
|
||||
Timed continuator: continues until a number of seconds is used
|
||||
*/
|
||||
template< class EOT>
|
||||
class eotenTimeContinue: public eoContinue<EOT>
|
||||
class eoTenTimeContinue: public eoContinue<EOT>
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
@ -51,7 +51,7 @@ public:
|
|||
//traitement
|
||||
std::ostringstream os;
|
||||
os << fileName << "." << id;
|
||||
ofstream outfile(os.str(), ios::app);
|
||||
ofstream outfile(os.str(), ios::app);
|
||||
|
||||
for(unsigned int i=0 ; i < _pop.size(); i++){
|
||||
for(unsigned int j=0 ; j<EOT::ObjectiveVector::nObjectives(); j++){
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ public:
|
|||
while(_src[i].flag() != 0)
|
||||
i++;
|
||||
moveInit(move, _src[i]);
|
||||
_src[i].flag()=-1;
|
||||
_src[i].flag(-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -85,7 +85,7 @@ public:
|
|||
while(_src[i].flag() != 0)
|
||||
i++;
|
||||
moveInit(move, _src[i]);
|
||||
_src[i].flag()=-1;
|
||||
_src[i].flag(-1);
|
||||
}
|
||||
}
|
||||
// ttt
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@
|
|||
#include <moeo>
|
||||
#include <moeoPopNeighborhoodExplorer.h>
|
||||
#include <moeoPopLS.h>
|
||||
#include <eoTenTimeContinue.h>
|
||||
|
||||
/**
|
||||
* An easy class to design multi-objective evolutionary algorithms.
|
||||
|
|
@ -93,7 +92,6 @@ protected:
|
|||
|
||||
eoContinue < MOEOT > & continuator;
|
||||
|
||||
template<class MOEOT>
|
||||
class moeoContinue : public eoUF < eoPop < MOEOT > &, bool >
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue