Forgot test.

This commit is contained in:
quemy 2012-12-21 19:21:39 +01:00
commit 0f1add5c6a
3 changed files with 80 additions and 5 deletions

View file

@ -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);

View file

@ -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);