Ajout du Metropolis-Hasting LS, du samplinf MH fitness cloud
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1792 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
0684081624
commit
71fa51d3b5
6 changed files with 222 additions and 2 deletions
|
|
@ -62,6 +62,7 @@ public:
|
|||
* @param _init initialisation method of the solution
|
||||
* @param _localSearch local search to sample the search space
|
||||
* @param _stat statistic to compute during the search
|
||||
* @param _monitoring the statistic is saved into the monitor if true
|
||||
*/
|
||||
template <class ValueType>
|
||||
moSampling(eoInit<EOT> & _init, moLocalSearch<Neighbor> & _localSearch, moStat<EOT,ValueType> & _stat, bool _monitoring = true) : init(_init), localSearch(_localSearch), continuator(_localSearch.getContinuator())
|
||||
|
|
@ -85,6 +86,7 @@ public:
|
|||
/**
|
||||
* Add a statistic
|
||||
* @param _stat another statistic to compute during the search
|
||||
* @param _monitoring the statistic is saved into the monitor if true
|
||||
*/
|
||||
template< class ValueType >
|
||||
void add(moStat<EOT, ValueType> & _stat, bool _monitoring = true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue