intermediate commit 6
This commit is contained in:
parent
816ea1553a
commit
483f815610
4 changed files with 11 additions and 9 deletions
3
eo/NEWS
3
eo/NEWS
|
|
@ -1,5 +1,6 @@
|
|||
* current release:
|
||||
- added an EOT& parameter to the moCoolingSchedule::update interface because some cooling schedules need it
|
||||
- added an EOT& parameter to the moCoolingSchedule::update interface method because some cooling schedules need it
|
||||
- eoMonitor's are no more executed in moCheckpoint::init to prevent access to uninitialized data
|
||||
|
||||
* release 1.3.1 (2012-07-27)
|
||||
- the eo::mpi modules is no longer dependent from boost::mpi
|
||||
|
|
|
|||
|
|
@ -109,14 +109,16 @@ public :
|
|||
stats[i]->init(_sol);
|
||||
counter = 1;
|
||||
|
||||
for (unsigned i = 0; i < moupdaters.size(); ++i)
|
||||
moupdaters[i]->init();
|
||||
|
||||
//for (unsigned i = 0; i < updaters.size(); ++i)
|
||||
// updaters[i]->init();
|
||||
|
||||
for (unsigned i = 0; i < moupdaters.size(); ++i)
|
||||
moupdaters[i]->init();
|
||||
/*
|
||||
* Removed because there was no reason for it to be done here.
|
||||
* It caused premature monitoring of eoParams with undefined values
|
||||
* Removed because there was no reason for it to be done here
|
||||
* It caused premature monitoring of eoParams with uninitialized values
|
||||
* (eoUpdater's don't have a init function)
|
||||
*
|
||||
for (unsigned int i = 0; i < monitors.size(); ++i)
|
||||
(*monitors[i])();
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ public:
|
|||
chainStat.acceptedSolutions = accepted;
|
||||
|
||||
generated++;
|
||||
cout << "gen " << generated << endl;
|
||||
//cout << "gen " << generated << endl;
|
||||
|
||||
|
||||
if (_acceptedMove)
|
||||
|
|
@ -263,7 +263,7 @@ public:
|
|||
///
|
||||
|
||||
if (avgFitness/(prevAvgFitness-delta) > xi)
|
||||
equilibrium_not_reached++;
|
||||
equilibrium_not_reached++, chainStat.equilibriumNotReached = true;
|
||||
else equilibrium_not_reached = 0;
|
||||
}
|
||||
if (equilibrium_not_reached > K1)
|
||||
|
|
@ -274,7 +274,7 @@ public:
|
|||
|
||||
//chainStat.reinitializing = true;
|
||||
reinitializing = true;
|
||||
chainStat.equilibriumNotReached = true;
|
||||
//chainStat.equilibriumNotReached = true;
|
||||
|
||||
alpha = lambda1;
|
||||
delta = sigma/mu1;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ Lionel Parreaux <lionel.parreaux@gmail.com>
|
|||
#define __moRealNeighborhood_h__
|
||||
|
||||
#include <mo>
|
||||
#include <eoFunctor.h> // FIXME: Why don't we use eoFunctorBase on the mother classes
|
||||
#include "neighborhood/moRealNeighbor.h"
|
||||
|
||||
template<class Distrib, class Neighbor>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue