Forgot test.
This commit is contained in:
parent
fc2ea957a4
commit
0f1add5c6a
3 changed files with 80 additions and 5 deletions
|
|
@ -56,7 +56,7 @@ of specified islands, built with same parameters.
|
|||
*/
|
||||
|
||||
template<template <class> class EOAlgo, class EOT, class... IslandInit>
|
||||
std::vector<eoPop<EOT>> IslandModelWrapper(unsigned _islandNumber, AbstractTopology& _topo, unsigned _popSize, eoInit<EOT> &_chromInit, IslandInit... args)
|
||||
std::vector<eoPop<EOT>> IslandModelWrapper(unsigned _islandNumber, AbstractTopology& _topo, unsigned _popSize, eoInit<EOT> &_chromInit, IslandInit&&... args)
|
||||
{
|
||||
// Model creation
|
||||
IslandModel<EOT> model(_topo);
|
||||
|
|
|
|||
|
|
@ -39,10 +39,7 @@ paradiseo::smp::PolicyElement<EOT>::PolicyElement(eoSelect<EOT>& _selection, eoC
|
|||
template <class EOT>
|
||||
bool paradiseo::smp::PolicyElement<EOT>::operator()(const eoPop<EOT>& _pop)
|
||||
{
|
||||
// DEBUG
|
||||
//static int i = 0;
|
||||
//std::cout << " " << std::this_thread::get_id() << std::endl;
|
||||
//i++;
|
||||
|
||||
// END DEBUG
|
||||
|
||||
return criterion(_pop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue