Update documentation
This commit is contained in:
parent
ea2b71e7de
commit
c4e2fb4507
14 changed files with 93 additions and 65 deletions
|
|
@ -45,18 +45,33 @@ namespace paradiseo
|
|||
namespace smp
|
||||
{
|
||||
|
||||
/** HomogeneousIslandModel: Wrapper to create homogeneous model easily
|
||||
|
||||
@see smp::IslandModel
|
||||
*/
|
||||
|
||||
template<template <class> class EOAlgo, class EOT>
|
||||
class HomogeneousIslandModel
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* Constructor
|
||||
* @param _islandNumber number of islands to create
|
||||
* @param _topo Topology
|
||||
* @param args... list of parameters according to the constructor of the island
|
||||
*/
|
||||
template<class... IslandInit>
|
||||
HomogeneousIslandModel(unsigned _islandNumber, AbstractTopology& _topo, unsigned _popSize, eoInit<EOT> &_chromInit, IslandInit... args);
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
~HomogeneousIslandModel();
|
||||
|
||||
void operator()();
|
||||
|
||||
/**
|
||||
* Get populations
|
||||
* @return Populations
|
||||
*/
|
||||
std::vector<eoPop<EOT>>& getPop();
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue