* fixed bad using of method moNeighbor< EOT >::init( EOT& )
This commit is contained in:
parent
acadd99281
commit
56680e865d
1 changed files with 3 additions and 25 deletions
|
|
@ -75,8 +75,7 @@ public:
|
||||||
_sa_continue(sa_continue),
|
_sa_continue(sa_continue),
|
||||||
_cooling_schedule(cooling_schedule),
|
_cooling_schedule(cooling_schedule),
|
||||||
_initial_temperature(initial_temperature),
|
_initial_temperature(initial_temperature),
|
||||||
_replacor(replacor),
|
_replacor(replacor)
|
||||||
_dummy_neighbor()
|
|
||||||
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
@ -126,9 +125,6 @@ public:
|
||||||
//-------------------------------------------------------------
|
//-------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
_sa_continue.init( _dummy_neighbor );
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------------------
|
//-------------------------------------------------------------
|
||||||
// (4) Estimation of the distribution parameters
|
// (4) Estimation of the distribution parameters
|
||||||
//-------------------------------------------------------------
|
//-------------------------------------------------------------
|
||||||
|
|
@ -167,6 +163,8 @@ public:
|
||||||
// Building of the sampler in current_pop
|
// Building of the sampler in current_pop
|
||||||
//-------------------------------------------------------------
|
//-------------------------------------------------------------
|
||||||
|
|
||||||
|
_sa_continue.init( current_solution );
|
||||||
|
|
||||||
current_pop.clear();
|
current_pop.clear();
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|
@ -239,26 +237,6 @@ private:
|
||||||
|
|
||||||
//! A EOT replacor
|
//! A EOT replacor
|
||||||
eoReplacement < EOT > & _replacor;
|
eoReplacement < EOT > & _replacor;
|
||||||
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
// Temporary solution to store populations state at each
|
|
||||||
// iteration for plotting.
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
|
|
||||||
// std::ofstream _ofs_params;
|
|
||||||
// std::ofstream _ofs_params_var;
|
|
||||||
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
// Temporary solution to store bounds values for each distribution.
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
|
|
||||||
// std::string _bounds_results_destination;
|
|
||||||
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
|
|
||||||
moDummyNeighbor<EOT> _dummy_neighbor;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // !_doEDASA_h
|
#endif // !_doEDASA_h
|
||||||
|
|
|
||||||
Reference in a new issue